Recent content by andres99

  • 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!

  1. A

    Help needed with client-side routing

    The layout is like this, where the server side is on the left and the client side is on the right: AsusWRT (OpenVPN server, 192.168.5.1) --- Internet (WAN) --- Client-Side gateway (Huawei) - Linksys (OpenVPN client, 192.168.5.2) The server-side LAN is centred around the AsusWRT and the...
  2. A

    Help needed with client-side routing

    Thank you for the hints! I took a look at the x3mRouting utility and policy-based routing but they seem to be for AsusWRT Merlin only. Since I can establish two-way connection to the Linksys router from the server-side LAN, I can be sure that any signal from the server-side LAN passes through...
  3. A

    Help needed with client-side routing

    Yes. The caveat is that the modem router is not very configurable. It is a small portable consumer thing (Huawei E5783B). Yes. Yes, the client openvpn is on Linksys (running FreshTomato). Yes. The Huawei modem router is the internet gateway for the Linksys (Client OpenVPN). I am not sure if...
  4. A

    Help needed with client-side routing

    Should I have posted this under "VPN" instead?
  5. A

    Help needed with client-side routing

    I need a site-to-site OpenVPN connection between two LANs in different locations. I have managed to get the OpenVPN connection running but there seems to be a problem with client-side routing. The OpenVPN server is on Asuswrt-Merlin (Asus RT-AC68U). That machine is the gateway, 192.168.0.1, on...
  6. A

    Help needed to make a router on LAN accessible remotely

    The suggested openvpn-event script worked for me, and I have now replaced the original script in the summary with the new one.
  7. A

    Help needed to make a router on LAN accessible remotely

    Here is a summary of the above process for those who may have trouble making a secondary router (Asuswrt-Merlin) on a LAN function as an OpenVPN server for remote clients to access that LAN Credits for making all this work go to ColinTaylor. My configuration: 192.168.8.0 - OpenVPN network...
  8. A

    Help needed to make a router on LAN accessible remotely

    Strangely enough, it worked!! An enormous thank you so much once more! The OpenVPN is now finally functional. Should I leave everything like that or are there any adjustments to finalise this solution?
  9. A

    Help needed to make a router on LAN accessible remotely

    The script did not change the NTP situation (still had to press apply). I have now uploaded a system log to https://pastebin.com/x5nwpHT2 There I left your latest script running from services-start. After reboot, OpenVPN connected but was not pingable. I waited for a few minutes and then...
  10. A

    Help needed to make a router on LAN accessible remotely

    sleep 10 did not help. In the system log, for some reason, I cannot see the exact operation of changing to the correct time, it just happens, like this: May 5 08:05:09 kernel: hub 3-0:1.0: USB hub found May 5 08:05:09 kernel: hub 3-0:1.0: 2 ports detected Dec 2 04:27:11 kernel: SCSI...
  11. A

    Help needed to make a router on LAN accessible remotely

    The debug log showed a simple reason: custom scripts were disabled in System -> Administration. What I cannot understand is how the openvpn-event script could still run. But it did. As for NTP, I discovered that the correct command should be: ntpd -p pool.ntp.org After enabling custom scripts...
  12. A

    Help needed to make a router on LAN accessible remotely

    I thought the same. I agree, that seems plausible. At the end of the system log, I can see: May 5 08:05:12 WAN_Connection: WAN was exceptionally disconnected. It is difficult to understand though why the router assumes that it has to have some kind of WAN connection even when I have...
  13. A

    Help needed to make a router on LAN accessible remotely

    Done. Grep returned (before reboot): 869 admin 1432 S /usr/sbin/ntp -t -S /sbin/ntpd_synced -p pool.ntp.org -p 192.98.49.11 2596 admin 1412 S grep ntp I also removed the ntpclient line from the script because apparently it would not work if it did not work manually. After...
  14. A

    Help needed to make a router on LAN accessible remotely

    I added "logger -t TESTING XXXXX" as the second line. However, I cannot see any reflection of this in the system log. I also tried adding the nameserver line into the openvpn-event script but it did not work from there either. After a reboot, the resolv.conf file was still empty. However, the...
  15. A

    Help needed to make a router on LAN accessible remotely

    This script did not work. After rebooting, the DNS still fails, time was not synced and I see no reference to "nameserver" in the system log (and /tmp/resolv.conf is 0 bytes). When I try to enter those commands manually in SSH, I get "ntpclient: not found".
Top