HI,
I did find it, It is an MOD and this shoeld only be done if you know yr stuff. I do not like this, althow clearly the intended method by the author, It is messy and non-elegant. I would of liked to see an setting in the bastille-firewall.cfg file asking to SNAT or MASq
vi /sbin/bastille-netfilter or edit /sbin/bastille-netfilter
remark the line Around line 390-391
# ${IPTABLES} -t nat -A POSTROUTING -s ${net} -o ${pub} -j MASQUERADE
# ${IPTABLES} -A FORWARD -s ${net} -o ${pub} -j ACCEPT
Around line 397 Remove the # (uncomment it)
${IPTABLES} -t nat -A POSTROUTING -o ${DEFAULT_GW_IFACE} -j SNAT --to ${DEFAULT_GW_IP}
What is great is that the DEFAULT_GW_IFACE is self-detected and come from your interface set-up.
Recent comments
4 hours 31 min ago
5 hours 31 min ago
9 hours 18 min ago
10 hours 32 min ago
14 hours 8 min ago
21 hours 23 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 22 hours ago
2 days 1 hour ago