It is need to set up VPN between two LANs. In the LAN "first" exist OpenVPN server.
Router should be installed in the "second" LAN as border (firewall).
I setup "OpenVPN Client" using GUI, apply changes. Next I login to router via SSH and look "what does".
ps showed command line:
Sure, you can always remove those options from the command line if you want to.
OK, I known that i do. But I don't known, as does this! What token in the configuration I should cnange? nvram_set "that" ?
I wants remove these authomatic (generated) rules because it is need routing between LANs, not masquarading. All needed rules I may insert in the "manual" scripts (in the GUI: "Administraton" - "Commands")
IIRC, the GUI should have an option to enable/disable NAT (maybe under Advanced Options).
Khmmm. "enable/disable NAT" is possible only for router, but not for one service openvpn: select mode "Router" instead "Gateway" ("Setup"-"Advanced routing").
Quote:
If not, you need to restart the VPN manually, or from the Startup script.
Another bug in the openvpn confirugation of GUI: dd-wrt don't creates tun interface, it is need create it in the user script before start openvpn service.