Jump to content

Ics With Ubuntu


CHR155
 Share

Recommended Posts

With ubuntus network manager its really easy. Right click that wifi-symbol (nm-applet) then down there Edit connections. Then tab Wired connections, and click "Add" give it a name, and then (tab, where you can set ip, dhcp etc. ) select from drop down menu "Shared to other computers".

Then after connecting eth0 or what ever devide you are using :) select that profile from thet wifo-symbol.

I wrote it from memory, but thats pretty.much the process.

PS. i wrote this with tablet, so sorry for typos.

Link to comment
Share on other sites

Be sure to enable IP forwarding and set the masquerading rule in ip tables.

When connecting to the internet from ur attacking machine, use wicd instead of network manager for the wlan interface and use ifconfig to manually give an IP to eth0. At least on my version of Ubuntu network manager doesn't really handle 2 connections simultaneously.

Link to comment
Share on other sites

Okay, now I've following situation:

Notebook:

Wlan0: 192.168.1.155 gw: 192.168.1.1

Eth0: 172.16.42.42 gw: 172.16.42.1

Pineapple:

Eth0: 172.16.42.1

I can ping the ip 192.168.1.155 from the pineapple (putty/ssh), but I get no response when I ping the ip 192.168.1.1!

Ip4 forwarding is 1

Iptables are configured

I've no idea what to do!

Link to comment
Share on other sites

Hey!

I've a problem with my ubuntu notebook.

I can't setup a ICS between wlan0 (is connected to a WAN router) and eth0.

It's simple to setup the ICS on a Win7 notebook:

http://windows.microsoft.com/en-US/windows-vista/Using-ICS-Internet-Connection-Sharing

Could so help me out?

Thanks!

Chris

If you are trying to do that with the pineapple here's a great howto video.

Edited by TylerCPU
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...