Simple nat help



  • heres the setup that i have:

    WAN -
    IP Address: 172.31.100.209
    Gateway: 172.31.100.204

    Orcon1 -
    IP Address: 172.31.100.210
    Gateway: 172.31.100.201

    Orcon2 -
    IP Address: 172.31.100.211
    Gateway: 172.31.100.202

    Orcon3 -
    IP Address: 172.31.100.212
    Gateway: 172.31.100.203

    The orcon's are simply OPT interfaces. Now I need to know what entries to put in NAT and firewall to make them connect to the Internet! I have no idea so if somebody could walk me through it I would appreciate it! I also need them to be loadbalancing so that every connection goes through a different gateway - and to give you a challenge I also need all POP3/SMTP connections to go through the WAN interface only and not any of the other connections…  :P

    If someone could give me clear instructions on what to add to NAT and firewall and rules etc etc that would be fantastico!  ;D



  • If it helps, my LAN IP is set at

    172.31.100.100
    255.255.0.0

    with DHCP allocation

    172.31.100.1 ~ 172.31.100.99



  • I don't understand that network. It looks like all IPs are in the same subnet?



  • Yes I just figured that, heres the modification:

    WAN:
    IP Address: 40.40.40.1
    Gateway: 40.40.40.40
    Subnet Mask: 255.0.0.0

    Orcon1:
    IP Address: 10.10.10.1
    Gateway: 10.10.10.10
    Subnet Mask: 255.0.0.0

    Orcon2:
    IP Address: 20.20.20.1
    Gateway: 20.20.20.20
    Subnet Mask: 255.0.0.0

    Orcon3:
    IP Address: 30.30.30.1
    Gateway: 30.30.30.30
    Subnet Mask: 255.0.0.0

    LAN:
    IP Address: 172.31.100.100
    Subnet Mask: 255.255.0.0

    DHCP:
    172.31.100.1 ~ 172.31.100.99

    Hope thats better!  ;D
    Now can you assist me in putting in all the NAT/Firewall rules as above?



  • help help help! need some help!



  • If you need any more clarification:

    I need to setup NAT and firewall rules to allow Internet access from the LAN interface.
    My gateways are WAN and OPT1,2,3 (Orcon1,2,3).
    I need a loadbalancer for the gateways (consider this when helping me with NAT rules).
    I need all port 25 and 110 connections to be directed through WAN interface only.



  • Your question has already been answered.  Search the archives.


Log in to reply