I have a issue that I cant find a solution for. I hope that I can get same help with this!
I am trying to setup a VPN to routing all client traffic (including web-traffic) through the VPN. This is not that hard to do, but my problem is that my qnap do not have iptables installed (and there is no way for me to install it), so I cant run "iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE" command.
Is there anyway to make this work without iptables?
My server config is:
# OpenVPN server configuration QNAP NAS
# basic settings
# detect mtu if the connection is slow.
# define mtu, if necessary
; tun-mtu xyz
# data compression
# allow, that several clients with the same common name log on
# different clients can "see" each other through the tunnel.
keepalive 15 120
# verbosity of status messages in the console. Activate for debugging (1-9 possible)
# Log files
# Run as daemon (activate, after everything is set up properly)
# Management Interface. Access with "telnet localhost 7505"
management localhost 7505
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 18.104.22.168"
push "dhcp-option DNS 192.168.1.1"
push "dhcp-option DNS 22.214.171.124"
push "route 192.168.1.0 255.255.255.0"
route add -net 10.8.0.0 netmask 255.255.255.0 gw 192.168.1.2
my server has the ip 192.168.1.2 and my router has the ip 192.168.1.1.