From Gentoo Wiki
Jump to:navigation Jump to:search
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.


Talk status
This discussion is still ongoing.

Could be vpnc-script should be mentioned.

vpnc does not replace default route by itself. Default route is replaced by default vpnc-script. In example in section "Custom scripts on boot" the goal could be reached faster by replacing bloated default vpnc-script, which does many other rare specific things, with short one

FILE /etc/vpnc/vpnc-script
if [ -z "$TUNDEV" ]; then exit; fi
ip link set dev "$TUNDEV" up
ip addr add "$INTERNAL_IP4_ADDRESS" dev "$TUNDEV"
ip route add 123.234/16 dev "$TUNDEV"

— The preceding unsigned comment was added by Intellect (talkcontribs)