Jump to content

Recommended Posts

Posted

Is there any special settings that need to be done to the jasager like setting a gateway or DNS server? It doesn't seem that traffic is flowing from the victim laptop to the Fon and then to the laptop. Traffic seems to stop before it hits the laptop with ISC/IPTable forwarding.

My Setup:

|||Wireless Vic (192.168.169.101)||| ---> |||Fon (192.168.169.169)||| ---> |||Laptop eth0 Wired (192.168.169.16)||| --->|||IP Forward Wireless wlan0 (possibly wmaster0 ?) Internet Source (192.168.0.105)|||

Should i be setting my DNS and Gateway to 192.168.169.169 in this example? Or should I make the Fon on the same network as my actual WiFi Internet source?

Posted

Set the Fon's DNS server (DNSmasq) to give out the gateway and DNS IPs. In /etc/config/dhcp, under the section config dhcp lan, add:

        list 'dhcp_option'      '3,192.168.169.16'
        list 'dhcp_option'      '6,192.168.0.105'

(assuming the internet source acts as a DNS server. Otherwise, substitute 192.168.0.105 for another DNS server, such as OpenDNS or Google's DNS service.

Posted
Set the Fon's DNS server (DNSmasq) to give out the gateway and DNS IPs. In /etc/config/dhcp, under the section config dhcp lan, add:

        list 'dhcp_option'      '3,192.168.169.16'
        list 'dhcp_option'      '6,192.168.0.105'

(assuming the internet source acts as a DNS server. Otherwise, substitute 192.168.0.105 for another DNS server, such as OpenDNS or Google's DNS service.

I should have clerified, the "Internet source" is a wireless router I have on my network. I'll give it a shot and see what I can come up with thanks.

And does it matter if my wireless router I'm connecting to for internet has WPA2 on it?

Posted

what settings are the client getting? (ifconfig/ipconfig)

Can clients ping the fon?

Can clients ping the laptop?

Can clients ping an address on the other side of the laptop? (Gateway/internet)

Posted
what settings are the client getting? (ifconfig/ipconfig)

Can clients ping the fon?

Can clients ping the laptop?

Can clients ping an address on the other side of the laptop? (Gateway/internet)

Client:

IP add: 192.168.169.115

Subnet: 255.255.255.0

Gateway: 192.168.169.169

Client Ping Fon - OK

Client Ping Laptop - OK

Client Ping other:

ping google.com

Ping request could not find host google.com. Please check the name and try again.

ping 8.8.8.8

Pinging 8.8.8.8 with 32 bytes of data:
Reply from 192.168.169.169: Destination port unreachable.
Reply from 192.168.169.169: Destination port unreachable.
Reply from 192.168.169.169: Destination port unreachable.
Reply from 192.168.169.169: Destination port unreachable.

Ping statistics for 8.8.8.8:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)

Those results are with a Fon, Backtrack 4 Final laptop, Windows 7 Pro x64 client.

Posted

Woot, Thanks for your help. For some reason the DNS wasnt working, I was able to ping everything. Changed the DNS address to google's DNS (8.8.8.8) and things started working. Thanks again for your help.

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.

  • Recently Browsing   0 members

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