You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a VPS server in the cloud, and would like to route all traffic on the client via the tun_obfs4 interface once the OpemVPN is up. Checked the OpenVPN website at looks like i have to do some minor adjustments as per below. Please can you confirm if below is correct as it does not seem to be working?
[cloud vps server]
openvpn_server.conf.obfs4
# forward internet traffic through OpenVPN
push "redirect-gateway def1"
server iptables rules:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o tun_obfs4 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i tun_obfs4 -o eth0 -j ACCEPT
iptables -t nat -L -n -v
iptables -t filter -L FORWARD -n -v
iptables-save | sudo tee /etc/iptables/rules.v4
openvpn_client.conf.obfs4:
# forward internet traffic through OpenVPN
push "redirect-gateway def1"
Have a VPS server in the cloud, and would like to route all traffic on the client via the tun_obfs4 interface once the OpemVPN is up. Checked the OpenVPN website at looks like i have to do some minor adjustments as per below. Please can you confirm if below is correct as it does not seem to be working?
[cloud vps server]
openvpn_server.conf.obfs4
server iptables rules:
openvpn_client.conf.obfs4:
client iptables rules:
from client:
from server:
The text was updated successfully, but these errors were encountered: