Immediately I will say far from the network. Tell me whether it is possible to forward the web interface as follows.

There is an office in which the web interface 192.168.0.220 is spinning on the network 192.168.0.1/24, a router is connected to this network on which the VPN client hangs with the subnet 192.168.10.1/24.

Is it possible to put the web interface 192.168.0.220 instead of the web interface of the router 192.168.10.1

  • At your link 192.168.10.1, does the web interface of the router open? Then only if your webnote is hanged on a port other than the 80th, for example, 8080 on a router, and from this port do DNAT at 192.168.0.220:80 - de_frag
  • It depends on the router. in some you can change the port on which the web of the router itself hangs and then 80 can be forwarded. Or just try to write a rule for forwarding, it may work, but then you will lose access to the settings of the router. - Mike
  • But you can give an example of how dnat is done - Eugene Tatmyanin
  • @EugeneTatmyanin how to configure it in a specific router (via the web interface) depends on the specific router. In iptables concepts, you can write this, for example, like this: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to 192.168.0.220:80 - de_frag

0