Arrow_left   Arrow_right
 
  #18

Make a NAT module

    • Created on: Wed, 22 Jul 2009 (over 2 years ago)
    • Reported by: Fate
    • Assigned to: Fate
    • Milestone: NAT Routing
    • Status: Fixed
    • Priority: Normal (3)
    • Component: -
    Would need to implement device type,
    and make a nat module, that knows the device names in question.
    Need to design a good gui too...
    a table with 2 columns of checklist of devices?
  • Followers
     
    Ico-users Fate (Assigned To) 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Jul 22, 2009 @ 05:40PM UTC * By Fate

    Status changed from New to Accepted
    Reminder:
    echo 1 > /proc/sys/net/ipv4/ip_forward
    /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    /sbin/iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
    /sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
    User picture

          on Jul 23, 2009 @ 11:10AM UTC * By Fate

    internal network on /dev/eth1
    external network on /dev/eth0
    User picture

          on Jul 23, 2009 @ 01:15PM UTC * By Fate

    Status changed from Accepted to Test
    (In revision:101) Initial untested nat module.

    ref #18
    test #18
    User picture

          on Jul 29, 2009 @ 06:43AM UTC * By Fate

    Status changed from Test to Fixed
    Seems to work quite well...
    Time Expenditure
    Loading