OpenVPN connected but Internet is not working.
While trying to do NAT, you may get the below error
[root@VPS ~]# iptables -t nat -A POSTROUTING -s 10.9.0.1/24 -o venet0 -j MASQUERADE
iptables: Unknown error 4294967295
Try like this:
iptables -t nat -A POSTROUTING -o venet0 -j SNAT --to-source #main ip
While trying to do NAT, you may get the below error
[root@VPS ~]# iptables -t nat -A POSTROUTING -s 10.9.0.1/24 -o venet0 -j MASQUERADE
iptables: Unknown error 4294967295
Try like this:
iptables -t nat -A POSTROUTING -o venet0 -j SNAT --to-source #main ip
No comments:
Post a Comment