Is this a commercial VPN or something you setup? The server has to have an IP and DHCP server to issue an IP to your client.see there is no IP assigned on the VPN server
Well, you have one way traffic for starters.
Command should be
dhclient vpn_vpn
If things are setup on both sides correctly it should get you an IP.
I'm using SoftEther for RDP access into a dedicated server. SoftEther VPN server is running on the dedicated server and I want to run the client on the RT-AC68U so I can RDP into my server from any device connected to my home LAN.Is this a commercial VPN or something you setup? The server has to have an IP and DHCP server to issue an IP to your client.
I'm running Merlin.Well, that's possible since Asus isn't full blown Linux.
Ok. well, if it's a "server" then it should be capable of issuing an IP to the client. As much as I hate Asus the OVPN server on the router should satisfy this problem. Then you just VPN to the router and it gives you an IP and then you can get to all of your local devices from the outside.
So, if I'm reading this and processing this correctly you want to do a site to site VPN to this "server" from your LAN to wherever this lives on the internet?
If you take DHCP out of the equation and set an IP on both sides and setup the routing rules properly it should work just fine. This is outside of the scope of consumer routers though for the most part due to limited HW resources. If you're running stock FW it's probably not going to be an option. Switching to one of the other options like Merlin might get this working though as more options are exposed outside of the scope of stock firmware.
/sbin/udhcpc -i vpn_vpn -p /var/run/udhcpc9.pid -s /tmp/udhcpc -O33 -O249
The plot thickens, an IP has been assigned and is confirmed by the VPN server as well:Asuswrt doesn't use dhclient is uses udhcpc.
Try this, you might need to change the DHCP options to fit your needs.
Code:/sbin/udhcpc -i vpn_vpn -p /var/run/udhcpc9.pid -s /tmp/udhcpc -O33 -O249
The plot thickens, an IP has been assigned and is confirmed by the VPN server as well:
RT-AC68U-F7C8:/# /sbin/udhcpc -i vpn_vpn -p /var/run/udhcpc9.pid -s /tmp/udhcpc -O33 -O249
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending select for 192.168.30.10
udhcpc: lease of 192.168.30.10 obtained, lease time 7200
But it still doesn't show an IP assigned via ip a and I can't ping anything at the VPN server end:
vpn_vpn Link encap:Ethernet HWaddr xxxxxxxxxxx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9015 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:526819 (514.4 KiB) TX bytes:684 (684.0 B)
isc-dhcp-client-ipv4
. That would give you dhclient
which probably isn't so tightly coupled with asuswrt.That worked! Thanks!It might be easier to install the Entware packageisc-dhcp-client-ipv4
. That would give youdhclient
which probably isn't so tightly coupled with asuswrt.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!