New answers tagged


By coincidence I found the problem. I run the following command:root@vpnServer:/etc/openvpn# iptables -t nat -L -n -v --line-numbers Chain PREROUTING (policy ACCEPT 81998 packets, 22M bytes) num pkts bytes target prot opt in out source destination Chain INPUT (policy ACCEPT 9509 packets, 694K bytes) num pkts bytes target ...


client routing table before starting vpn client Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface UG 100 0 0 eth0 U 0 0 0 wlan0 U ...


You need to add an IP alias to the same interface where is configured. The kernel will add a directly connected route automatically. Then you need to configure a web server like nginx, apache, lightttpd to be able to server web pages on

Top 50 recent answers are included