Archive for the 'Unix' Category

Bind zone files

A really nice tutorial for bind zone files here

admin October 27th, 2003

PPPd Old School

Setting up PPPD server (with no auth )
edit /etc/ppp/options change auth to noauth ( cause -noauth is disable on debian)
pppd /dev/ttyS1 115200 192.168.2.3:192.168.2.10
on the iPaq just pppd .. that all :))

admin October 24th, 2003

Shortest masquerade config

Voici la commande la plus courte et simple afin de faire du masquerading sous Linux

# this will masquerade all packet to ppp0
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o ppp0-j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

admin September 18th, 2003