mirror of
https://github.com/pirate/wireguard-docs.git
synced 2026-01-22 18:06:15 +00:00
Merge pull request #97 from lvaroqui/fix-internet-browsing-vpn-forward-rule
Fix internet browsing vpn example forward rule
This commit is contained in:
commit
14d87bec0e
1 changed files with 1 additions and 0 deletions
|
|
@ -14,4 +14,5 @@ sysctl -p /etc/sysctl.conf
|
|||
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
|
||||
iptables -A FORWARD -i wg0 -o wg0 -m conntrack --ctstate NEW -j ACCEPT
|
||||
iptables -A FORWARD -i wg0 -o eth0 -m conntrack --ctstate NEW -j ACCEPT
|
||||
iptables -t nat -A POSTROUTING -s 10.0.44.0/24 -o eth0 -j MASQUERADE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue