[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP MASQing on PPC?



Gjermund Gusland Thorsen wrote:
> 
> I compiled my kernel with these options:
> 
> CONFIG_IP_MASQUERADE=y
> CONFIG_IP_MASQUERADE_ICMP=y
> CONFIG_IP_MASQUERADE_MOD=y
> CONFIG_IP_MASQUERADE_IPAUTOFW=m
> CONFIG_IP_MASQUERADE_IPPORTFW=m
> CONFIG_IP_MASQUERADE_MFW=m
> 
> and insmod?ed the modulebased kernel pieces.
> 
> /sbin/depmod -a
> 
> /sbin/insmod ip_masq_user
> /sbin/insmod ip_masq_raudio
> /sbin/insmod ip_masq_ftp
> /sbin/insmod ip_masq_irc
> 
> poked 1 to ip_forward
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> and MASQed LAN
> 
> /sbin/ipchains -F
> /sbin/ipchains -X
> /sbin/ipchains -M -S 7200 10 160
> 
> /sbin/ipchains -P forward ACCEPT
> /sbin/ipchains -A forward -s 192.168.1.0/255.255.255.0 -j MASQ
> 
> /sbin/ipchains -P input ACCEPT
> 
> /sbin/ipchains -P output ACCEPT
> 
> after this I tried to: # ipchains -vL
> 
> but no rules show up?
> 
> tcpdump does not seem to show translated IPs for packets.

Have you tried just installing the ipmasq package?


Michel


-- 
Earthling Michel Daenzer (MrCooper)  \  CS student and free software
enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86 and The DRI Project



Reply to: