What's new

RT-AC66U two openvpn servers. Don't work port forwarding when LAN only

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Yo-ho-ho!!! I did it :)

I decided to view the server configuration file. Opened through SSH /etc/openvpn/server1/config.ovpn
Noticed an interesting thing. If Both are selected via WebUI, then two rows are added to the config , comparing with LAN mode

push "route-gateway 192.168.0.1"
push "redirect-gateway def1"



Then I reminded myself that I saw def1 was described in 3rd method by the above link.

I entered this into client configuration file:

route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway

And after that everything started working, as I wanted. Finally)


@Maverickcdn thank you so much for support!!!
 
All I did was run you through a maze... you figured it out on your own with the resources I referenced... well done! :D

Glad you got it working
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top