Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

System and Network configuration • iptables SNAT configuration and packet forwarding

$
0
0
sudo sysctl -w net.ipv4.ip_forward=1
Is this the proper way ??
Yes.
Also i have another issue, the -A (append) of the iptables command, is lost after restart.
You need a startup script to add your firewall rules, or use the iptables-persistant package to do it for you.

Statistics: Posted by dilberts_left_nut — 2024-07-12 10:37 — Replies 2 — Views 86



Viewing all articles
Browse latest Browse all 3560

Trending Articles