From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they 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)

Hi, I agree with you. The section has been removed. During net-tools deprecation, this section has been diffcult to understand then difficult to migrate to iproute2 syntax. Please add a new section with this script and some information.Needle (talk) 21:53, 18 January 2024 (UTC)