Iptables -- Want to add my IP as a trusted / allowed IP address
I'd like to add my IP address as a trusted IP in IPtables (trying to configure a VPN, and not sure if it's my firewall that's blocking me).I attempted this syntax, but it only seemed to lock up Iptables:
Code:
iptables -t nat -A POSTROUTING -s my_home_ip -o eth0 -j SNAT --to destination_ip iptables -t nat -A PREROUTING -s destination_ip -i eth0 -j DNAT --to my_home_ip
Thank you!