[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipnat
since your dialup is dynamic you will probably have to put the directives
in your /etc/ppp/ip-up script like I do. Unless we fixed our ipnat parser
to understand ppp0/32 again. It's been a while since I messed with it.
#!/bin/sh
/sbin/ipnat -CF
echo "map ppp0 192.168.1.0/24 -> $4/32 portmap tcp/udp 10000:20000" |
/sbin/ipna
t -f -
echo "map ppp0 192.168.1.0/24 -> $4/32" | /sbin/ipnat -f -
--------
It is by caffeine alone I set my mind in motion, it is by the beans of Java
that thoughts acquire speed, the hands acquire shaking, the shaking becomes
a warning. It is by caffeine alone I set my mind in motion.
- References:
- ipnat
- From: Koala <magma@toxygene.dope.org>