Changes between Version 17 and Version 18 of BridgingAndRouting


Ignore:
Timestamp:
03/15/16 20:32:54 (8 years ago)
Author:
circulosmeos
Comment:

masquerade is necessary also in 'Using routing and OpenVPN not running on the default gateway'

Legend:

Unmodified
Added
Removed
Modified
  • BridgingAndRouting

    v17 v18  
    213213    iptables -I FORWARD -m conntrack --ctstate RELATED,ESTABLISHED \
    214214         -j ACCEPT
     215
     216    # Masquerade traffic from VPN -- done in the nat table
     217    iptables -t nat -I POSTROUTING -o eth0 \
     218          -s 10.8.0.0/24 -j MASQUERADE
    215219}}}
    216220