Sharing my VPN over other Ethernet Sockets

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
kambizarya
DD-WRT Novice


Joined: 12 Feb 2018
Posts: 4

PostPosted: Wed Oct 16, 2019 12:52    Post subject: Sharing my VPN over other Ethernet Sockets Reply with quote
Hello everyone

I know my question would seem pretty stupid to most of you. Forgive me, I am quite new to networking.

I have installed DD-WRT on my RT-N18U, and LAN1 on my router is connected via a cable to my ADSL modem. I have configured the DD-WRT to use an OpenVPN client. My Wifi is now connected to the VPN.

My question is, how can I share this VPN connection through the other LAN sockets on my router. When I checked my IP address from the connection from the other LAN sockets of the router, it is showing my ISP IP.

Any help would be greatly appreciated.

BR
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Wed Oct 16, 2019 13:49    Post subject: Reply with quote
I assume you setup the routers as WAP: https://wiki.dd-wrt.com/wiki/index.php/Wireless_access_point ?

I assume you unbridged the wifi or made an unbridged VAP so that it uses the VPN?

If that is the case then you can let other clients on your LAN use your VPN by setting the default gateway of said clients to your DDWRT router.

Suppose your ADSL modem/router has IP address of 192.168.1.1 and your DDWRT router has an IP address of 192.168.1.2 then you manully set the default gateway of your client to 192.168.1.2.

For Windows clients you can use NetSetMan to easily switch network configurations.

If your ADSL modem/router should support DNSMasq you can set the default gateway per client like described here: http://www.linksysinfo.org/index.php?threads/specific-gateway-dns-for-specific-clients.72461/

Alternatively you can use a VLAN to unbridge a specific LAN port, unbridged ports/VAP's will automatically route via the VPN client

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum