USB networking and openSUSE

Matt Luzum mluzum at gmail.com
Thu Jul 17 17:38:05 CEST 2008


arne anka wrote:
>> iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &
>> echo 1 > /proc/sys/net/ipv4/ip_forward &
>> iptables -P FORWARD ACCEPT &
>>
>> I'll still have to figure out how to make it more permanent/automatic,
>> but now that I know what to google for it shouldn't be a big deal.
> 
> put it below /etc/network/if-up.d/ but make sure it only happens with 
> usb networking.

Thanks.  It looks like that folder exists at 
/etc/sysconfig/network/if-up.d/ although at the moment I have no idea 
how to make sure it only happens with usb networking.

Matt




More information about the support mailing list