Jump to content

How To Multiple Ics


trescomban1
 Share

Recommended Posts

Hi,

I wan to share internet from the wan(eth1) to the eht0 port and the wlan0 port at same time.

Now i have the ip 192.168.1.2 in eth1 (wan whit internet conection to a router ) and range ip 172.16.1.x on the eth0 and wlan0.

What is the Route comand to use on this case?

Actually im using network managenetwork module to configure the ics.

Thank you so much.

Link to comment
Share on other sites

I did it this way:

[install iptables]

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE

[edit: woops did not understand what you were asking... the above should still work but if you want to use the moduals then I got no clue, havent installed any yet... incidently if you are using the wlan0 on your pineapple how are you using both eth0 and eth1? I was under the impression that engaging the wlan0 took the rescorces that eth0 needed... or something,and forwarding between eth1 and wlan0 should be engaged by default.]

Edited by Wookiee
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...