Openvpn on Ubuntu 16.04

Discussion in 'HOWTO-Related Questions' started by ganewbie, Mar 15, 2017.

  1. ganewbie

    ganewbie Member HowtoForge Supporter

    Hello,

    I have an openvpn server setup on Ubuntu server 16.04, when the vpn client is connected, it appears from its original public IP address but i want it to appear from VPN's public IP, could anyone advise what is needed to be done?

    How to route the traffic To get out of the OPENVPN server. So the traffic appear from Y.Y.Y.Y public IP address as per the attached diagram.

    Thanks in advance.
     

    Attached Files:

  2. sjau

    sjau Local Meanie Moderator

  3. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks, i have done that already but the traffic is still appearing from the first wan(x.x.x.x), also added static route in /etc/network/interfaces to out all the traffic from wan(Y.Y.Y.Y) but no luck.
    Any other suggestions?
     
  4. sjau

    sjau Local Meanie Moderator

    Post your configs. From the nice helper bot in #openvpn on freenode:
     

Share This Page