Hello,
I am running a few servers (linux and windows) behind a router with a VPN L2TP/ipsec server to which users are connecting with no problems, or so it seems.
I have the following issue: the vpn clients are connecting to the vpn and are given an ip address from an ip pool and they have access to all resources in the LAN, including to my 2 CentOS machines, which are the only ones to see the client IP as being the public IP of the router to which the clients are connecting to.
Router is dual WAN and the VPN server is configured for WAN1, but CentOS sees the IP of the clients as WAN2.
None of the Debian based machines or Windows are doing this.
The problem is that one of the CentOS machines is running postgres and I have defined pg_hba to allow access to my clients, but it's no use since CentOS thinks they are all coming from WAN2.
Could someone point me in the right direction to understand this?
Thank you
VPN interface IP
Issues related to configuring your network
-
- Posts: 1
- Joined: 2021/03/04 12:35:49
Return to “CentOS 7 - Networking Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support