Fix some problems with routing

before it happened regulary that locally generated ICMP messages
left eth0 with wrong source address instead of going out via the vpn interface
This commit is contained in:
ohrensessel 2014-08-19 11:18:38 +02:00
commit f555ac2276
3 changed files with 34 additions and 22 deletions

View file

@ -392,7 +392,8 @@ class ff_gw::radvd($own_ipv6) {
context => '/files/etc/sysctl.conf',
changes => [
'set net.ipv4.ip_forward 1',
'set net.ipv6.conf.all.forwarding 1'
'set net.ipv6.conf.all.forwarding 1',
'set net.ipv4.icmp_errors_use_inbound_ifaddr 1'
],
}
~>