ipmasquerading

Discussion in 'Server Operation' started by pawan_lal, Jun 22, 2009.

  1. pawan_lal

    pawan_lal New Member

    hello friends,
    in my office i had configured vpn in fedora 7 every thing is fine below is the lan setup,

    Configuration is;

    adsl router ->eth1 192.168.1.103 with gateway ip address of adsl router
    (192.168.1.254)
    box -> eth0 network on subnet 192.168.2.107 with gateway ip address of eth1
    (192.168.1.103)

    internal lan ip addresses -> box in the range 192.168.2.X have the gateway
    specified as 192.168.2.107 (ip address of the ethernet card they are
    connected to)

    Flow; request from lan box 192.168.2.X -> eth0 (router box 192.168.2.103) ->
    eth1 (192.168.1.107) -> adsl 192.168.1.254

    Reply; 192.168.1.254 -> 192.168.1.103 -> 192.168.2.107 -> 192.168.2.X

    now if i have to relay internet to lan through linux box, so i have to do ipmasquerading so plz guide me in configuring ipmasquerading so that lan can get the access of internet through linux box.

    thx
     

Share This Page