New answers tagged

0

Take out the .sh from the script name. You can test with: run-parts --test /etc/ppp/ip-up.d If it does not shows up, it is because of permission/file naming.


0

systemd-nspawn --network-interface=ppp0 ppp0 will disappear from the host namespace. You can't share one IP address with a container and not your other IP addresses. (Apart from doing NAT). It looks like this might require a very recent kernel though. http://www.spinics.net/lists/netdev/msg339236.html OR (machine is created after ppp0): ...


1

in my case in centOs 6.7 i use this iptables rules: iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE iptables -I INPUT -s 192.168.0.0/24 -i ppp0 -j ACCEPT iptables --append FORWARD --in-interface eth0 -j ACCEPT iptables -A INPUT -i eth0 -p icmp -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE && ...



Top 50 recent answers are included