IP Address is different

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
DanDewey
OpenVpn Newbie
Posts: 2
Joined: Wed Aug 31, 2022 8:56 pm

IP Address is different

Post by DanDewey » Wed Aug 31, 2022 9:07 pm

Hi All, I wonder if anyone can help.

I'm using OpenVPN Client and my router (I think) is acting as the server its an Asus RT-AC86U with a static IP Address 213.xxx.xxx.xxx at my office . I've configured and can connect through OpenVPN.

My query is when I connect when not in the office the IP (IP4) address changes and becomes the IP address of the ISP at that location and is no longer 213.xxx.xxx.xxx but if I connect through a PPTP VPN the IP Address is shown the one at my office as 213.xxx.xxx.xxx

This causes an issue for me because I have to whitelist the IP Address for Website/SQL connections.

Is there a way to use OpenVPN and force IP Address to show the IP address from my office 213.xxx.xxx.xxx instead of where ever I connect from

Thanks In Advance

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: IP Address is different

Post by TinCanTech » Thu Sep 01, 2022 6:08 pm

In openvpn, you use --redirect-gateway

To learn more, the best place to start is the Openvpn howto.

Post Reply