aboutsummaryrefslogtreecommitdiff
path: root/netsec-assignment5-S4498062/exercise5/exercise5b/commands
blob: 5f8ba63c65e1fd8f3ac372c9520e8fedc314fa18 (plain) (blame)
1
2
3
4
5
6
7
8
9
On the server:

# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

Client and server configuration is exactly the same, except that the server has
this extra line:

    push "redirect-gateway local def1"