How to add route to VTUN that use PPP interface.

in /etc/vtund.conf  for client..

ultramankosmos {
passwd makan2;
type tty;
proto tcp;
keepalive yes;
persist yes;
multi killold;
up {
ppp "noipdefault lcp-echo-interval 60 lcp-echo-failure 3 nodefaultroute ipparam IMTHEVPN";
route "del";


in /etc/ppp/ip-preup

logger NAMRAN::I got $5 $6
if [[ "$6" =~ IMTHEVPN ]]
logger NAMRAN::$6 going to route to...$5
/sbin/route add -host gw $5
logger NAMRAN:: doing nothing

verify .. use

netstat -rn

after it come up..

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.


Related Post

3 Responses

  1. afifah says:

    lumrah sebuah perhubungan…tanpa ujian hubungan tiada maknanya

  2. afifah says:

    If you’ve experienced lust, love, and all that stuff.
    Then you know relationships are tough.
    They leave you unprotected; without shield.
    It never works out because love is a battlefield.

    Your partner will leave you abandoned and alone.
    The strongest, most pasionate loves end up gone.
    Even when your love seems so incredibly real,
    it’s only love grazing in the battlefield.

    You’re a fool to beleive in love at first sight.
    The first glance only makes your heart feel light.
    Deep wounds from battle never heal.
    Stay far away from love’s battlefield.

    Don’t become a hurt and lovesick soldier.
    Don’t fall for that warm look; it will get colder.
    Love wont ever be so unreasonably real.
    Don’t give in; love is only a battlefield.

    Tiffany Ann Ford

  3. hafini says:

    love dis song…as it relate with….


Anything to add?