SwedishPimp Posted June 11, 2012 Share Posted June 11, 2012 ***Awesome device, thanks for all the hard work! I have updated to 2.3.1 and all seems to look clean. When USB tethering to my Android phone, the device has Internet connectivity, but the PWN'd device(s) through Karma do not. DNS spoofing is not on. I have been looking through to find anything and cannot seem to figure out the cause. Any help? Quote Link to comment Share on other sites More sharing options...
SwedishPimp Posted June 12, 2012 Author Share Posted June 12, 2012 To add more color to the issue, on an PWN'd host (running WinXP), NSLOOKUP returns: pineapple.lan as my DNS server and it does properly resolve the public IP addresses of names sent. Those addresses do not work in a browser, just like the FQDN does not. Quote Link to comment Share on other sites More sharing options...
Darren Shady Posted June 12, 2012 Share Posted June 12, 2012 To add more color to the issue, on an PWN'd host (running WinXP), NSLOOKUP returns: pineapple.lan as my DNS server and it does properly resolve the public IP addresses of names sent. Those addresses do not work in a browser, just like the FQDN does not. NAT/PAT issue. You need to adjust where the device is routing and add masquerade. You know this is needed when you can get to the Internet from the Device, but not from devices attached to it. The WAN port Wiki has the commands, just need to adjust the interfaces to match what your connected with (USB Tether) WAN Port Quote Link to comment Share on other sites More sharing options...
PineDominator Posted June 12, 2012 Share Posted June 12, 2012 also the original thread should shed light on what you should also check, http://forums.hak5.org/index.php?showtopic=26601 I think darren hinted at something in the ui to configure all the ways to get connected to internet, maybe It's still planned? Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted June 12, 2012 Share Posted June 12, 2012 also the original thread should shed light on what you should also check, http://forums.hak5.org/index.php?showtopic=26601 I think darren hinted at something in the ui to configure all the ways to get connected to internet, maybe It's still planned? It may be possible that the IPtables have messed up. I will look into it and fix it asap. Best, Sebkinne Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted June 12, 2012 Share Posted June 12, 2012 From the Advanced menu, what does your route configuration look like? It should be to the device usb0. Will test soon. Quote Link to comment Share on other sites More sharing options...
BagOfNarcissism Posted June 12, 2012 Share Posted June 12, 2012 (edited) On my Galaxy S2 while tethered it shows the gateway as being usb0, But the default gateway is showing up as 192.168.42.129 on the pineapple, but as 172.16.42.129 on my phone earlier today and now as “not available” as I retried this tonight. Dns Resolution works from clients connected through Karma but no internet connection. From Pineapple itself I can ping and download packages through phone so that’s working correctly. Hope this is of some help, or just a verification of issues. Edited June 12, 2012 by BagOfNarcissism Quote Link to comment Share on other sites More sharing options...
SwedishPimp Posted June 13, 2012 Author Share Posted June 13, 2012 From the Advanced menu, what does your route configuration look like? It should be to the device usb0. Will test soon. default 192.168.42.129 through usb0. 172.16.42.0 through br-lan 192.168.42.0 through usb0 (the Android tethering network) Quote Link to comment Share on other sites More sharing options...
triptych Posted June 16, 2012 Share Posted June 16, 2012 Seb: Why is this link not working? http://forums.hak5.org/index.php?showtopic=26601 Quote Link to comment Share on other sites More sharing options...
BagOfNarcissism Posted June 23, 2012 Share Posted June 23, 2012 (edited) Sorry for not ploughing through the forums a bit more, this was anwsered by Wiregr in another thread, iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o usb0 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o usb0 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i usb0 -j ACCEPT Worked a charm, Bag. Edited June 23, 2012 by BagOfNarcissism Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.