I have an Asus RT-AX88U running Merlin firmware version 384.14. The router is running an OpenVPN client which is connected to a commercial VPN provider, with a rule for routing client traffic through the tunnel (a selective routing rule) that 192.168.1.0/24 goes through the VPN. In other words, all LAN traffic should be in the VPN.
I have a computer at LAN address 192.168.1.2 and want to port forward incoming requests to the router on port (say) 1234, to port 22 of 192.168.1.2. Thus, I would like that if from the wider internet I ssh to the router's real IP address on port 1234, I will be connected to my computer at 192.168.1.2.
I am unable to do this in the set-up as described above. A problem seems to be the VPN; if I add a selective routing rule that traffic from 192.168.1.2 should go through the WAN, then port forwarding works fine. Without that selective routing rule, no connection is made.
Can anyone advise me on how to make port forwarding work with the VPN on, please?
Many thanks.
I have a computer at LAN address 192.168.1.2 and want to port forward incoming requests to the router on port (say) 1234, to port 22 of 192.168.1.2. Thus, I would like that if from the wider internet I ssh to the router's real IP address on port 1234, I will be connected to my computer at 192.168.1.2.
I am unable to do this in the set-up as described above. A problem seems to be the VPN; if I add a selective routing rule that traffic from 192.168.1.2 should go through the WAN, then port forwarding works fine. Without that selective routing rule, no connection is made.
Can anyone advise me on how to make port forwarding work with the VPN on, please?
Many thanks.