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

[Bug 1266] New: enable-nat doesn't work like in Skolelinux 2.0



http://bugs.skolelinux.no/show_bug.cgi?id=1266

           Summary: enable-nat doesn't work like in Skolelinux 2.0
           Product: Skolelinux
           Version: etch-release-3.0r0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debian-edu-config
        AssignedTo: debian-edu@lists.debian.org
        ReportedBy: klaus@skolelinux.no


Seems the script in /etc/init.d/enable-nat no longer works like it did in
Skolelinux 2.0. In Skolelinux 2.0 this script made is possible for linux laptops
to get internet on the 192.168.0.0/24-network (probably also for windows
maschines). 

When I on Skolelinux 3.0 run 
iptables -L -t nat -vn
Chain PREROUTING (policy ACCEPT 1 packets, 160 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

On Skolelinux 2.0 I got 
iptables -L -t nat -vn
Chain PREROUTING (policy ACCEPT 61885 packets, 4218K bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain POSTROUTING (policy ACCEPT 550K packets, 51M bytes)
 pkts bytes target     prot opt in     out     source               destination
42749 2053K MASQUERADE  all  --  *      eth0    192.168.0.0/24       0.0.0.0/0

Chain OUTPUT (policy ACCEPT 550K packets, 51M bytes)
 pkts bytes target     prot opt in     out     source               destination


If I add 192.168.0.0/24 to /etc/default/enable-nat I get the same wanted
behavior as on Skolelinux 2.0, linux and windows laptops can surf on the
thinclient network.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



Reply to: