mashupishu
New Around Here
Hi there! First of all, its a pleasure to meet you all.
Can someone give me a hand with this scenario: I have a RT-N66U (merlin 374.43),and I'm interested in having a dedicated SSID for vpn traffic and the other SSIDs for normal traffic.
My vpn provider is airvpn, and I'm pretty happy with them. After reading about this topic I discovered over here that Astrill provides a merlin add-on to achieve what I'm looking for, but I've just renewed my subscription with airvpn so changing is not an option (at least in the next three months )
I've followed the instructions/tutorial at: https://github.com/RMerl/asuswrt-merlin/wiki/How-to-setup-SSID-for-VPN-and-SSID-for-Regular-ISP-using-OpenVPN.. And for some reason it's not working.
Except for line 39 (ip route del 0.0.0.0/1 table main # Uncomment ...)(If I don't uncomment this line all the traffic goes over the vpn) I'm using the same config as in the script, tun11 as the vpn interface, wl0.1 for the vpn SSID (associated to the first 2.4Ghz guest SSID), and so on.
However something is not going as expected, I think that is a routing problem, however I'm a noob in networking/routing and I get a bit lost. If I connect with the normal 2.4Ghz SSID and 5Ghz SSID I have a direct connection to the Internet and airvpn says that I'm not connected throw them. But if I connect to the guest SSID wl0.1, I receive a dhcp ip within the 192.168.2.0 network (as configured in the script), I can ping to the 192.168.2.1 ip and to 10.0.0.254 (br0 ip), but I can't go outside the router.
Another thing that is shocking me is that after some time, lets say 5 minutes (I really don't know) the routing table seems to go back to its initial state!!! Maybe some kind of event is restoring it, but I don't have any special script apart from the defaults: post-mount, services-start, services-stop and vpn_ssid.
Here you have the outputs of different commands before and after running the script:
ifconfig before running vpn_ssid
ifconfig after running vpn_ssid
route before running vpn_ssid
route after running vpn_ssid
dnsmasq.conf before running vpn_ssid
dnsmasq.conf after running vpn_ssid
That's all, thanks in advance for your support and have a nice day.
BR, mashu.
Can someone give me a hand with this scenario: I have a RT-N66U (merlin 374.43),and I'm interested in having a dedicated SSID for vpn traffic and the other SSIDs for normal traffic.
My vpn provider is airvpn, and I'm pretty happy with them. After reading about this topic I discovered over here that Astrill provides a merlin add-on to achieve what I'm looking for, but I've just renewed my subscription with airvpn so changing is not an option (at least in the next three months )
I've followed the instructions/tutorial at: https://github.com/RMerl/asuswrt-merlin/wiki/How-to-setup-SSID-for-VPN-and-SSID-for-Regular-ISP-using-OpenVPN.. And for some reason it's not working.
Except for line 39 (ip route del 0.0.0.0/1 table main # Uncomment ...)(If I don't uncomment this line all the traffic goes over the vpn) I'm using the same config as in the script, tun11 as the vpn interface, wl0.1 for the vpn SSID (associated to the first 2.4Ghz guest SSID), and so on.
However something is not going as expected, I think that is a routing problem, however I'm a noob in networking/routing and I get a bit lost. If I connect with the normal 2.4Ghz SSID and 5Ghz SSID I have a direct connection to the Internet and airvpn says that I'm not connected throw them. But if I connect to the guest SSID wl0.1, I receive a dhcp ip within the 192.168.2.0 network (as configured in the script), I can ping to the 192.168.2.1 ip and to 10.0.0.254 (br0 ip), but I can't go outside the router.
Another thing that is shocking me is that after some time, lets say 5 minutes (I really don't know) the routing table seems to go back to its initial state!!! Maybe some kind of event is restoring it, but I don't have any special script apart from the defaults: post-mount, services-start, services-stop and vpn_ssid.
Here you have the outputs of different commands before and after running the script:
ifconfig before running vpn_ssid
ifconfig after running vpn_ssid
route before running vpn_ssid
route after running vpn_ssid
dnsmasq.conf before running vpn_ssid
dnsmasq.conf after running vpn_ssid
That's all, thanks in advance for your support and have a nice day.
BR, mashu.