OpenVpn traffic Help

I am hoping someone can help

I have just newly installed openvpn on a linux box migrating from pptp on ddwrt.

I can remotely connect without any issues from either by table, phone or laptop however not all traffic is being routed through my linux box, meaning when i do whatismyip address its showing the External ip address from where i connecting from and not the linux box external IP address

If needed I can provide a .opvn so you can see what i talking about.

Marvin

Do you have the redirect-gateway option?

https://openvpn.net/index.php/open-source/documentation/howto.html#redirect

Jim

I am hoping someone can help

I have just newly installed openvpn on a linux box migrating from pptp on ddwrt.

I can remotely connect without any issues from either by table, phone or laptop however not all traffic is being routed through my linux box, meaning when i do whatismyip address its showing the External ip address from where i connecting from and not the linux box external IP address

If needed I can provide a .opvn so you can see what i talking about.

Marvin

Jim
thanks for your reply and the link

I original added push “redirect-gateway def1” to the server.conf file which created an issue previously so i removed it . i re read from the link you sent and notice my iptables was setup wrong . Once i fixed it everything started to work .

Again thanks Jim

Marvin