Forwarding connections to local interface

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
geo-bcn
OpenVpn Newbie
Posts: 1
Joined: Thu May 12, 2016 9:38 am

Forwarding connections to local interface

Post by geo-bcn » Thu May 12, 2016 9:43 am

Hello All,

I would like to ask for some help as we are currently facing an issue with a server hosting an Openvpn-as 2.0.17.

The context is :
  • - 1 openvpn-as server in local-subnet
    • - eth0 : private interface in local-subnet
      - eth1 : public interface
    - 1 vpn-ipsec server in same local subnet
    - 1 site to site connection openvpn configured between remote-subnet-#1 and local-subnet, with a defined user with following config :
    • - Static IP
      - NAT Access control addressing method
      - Allow access from all server-side private subnets
      - Allow access from all other VPN clients
      - Act as a gateway for remote-subnet-#1
    - General VPN settings
    • - Routing is enabled using NAT
      - In : Specify the private subnets to which all clients should be given access, remote-subnet-#2 is defined
    - 1 site to site ipsec connection configured between remote-subnet-#2 and local-subnet
    - 1 routing rule on openvpn server to route packet with dest remote-subnet-#2 to vpn-ipsec server via interface eth0
The issue is that this set up works fine as far as we do not reboot the server …
  • - After the reboot
    • - route to remote-subnet-#2 is still present
      - packets cannot go out of openvpn server
Do you have any ideas on what could be the issue ? should we check for any issue besides iptables or routing ?

thanks !

Post Reply