Jump to content

Fixing wp6 script for Linux ICS


KINGSABRI

Recommended Posts

Hello! 

As we know that there is a wp6 script to manage internet connection sharing on Linux. I use it many times just to have working internet on my machine but never succeed to sharing the internet to my Wifi Pineapple NANO due to my existing firewall rules. The script by itself is good and saves a lot of time whoever, it seems missing many considerations regarding firewall rules.

Here few but not limited to 

  • flushing all firewall rules and chains. doesn't consider the user existing settings
  • forcing stateful firewall mode operation. doesn't consider the user existing settings
  • not specific regarding internet sharing between chosen interfaces.

To fix that, 

  • Inserting the forward rules at the top of the FORWARD chain instead of flushing the tables
  • Remove stateful rule with 2 ways rules (internet -> pineapple, pineapple -> internet)
  • a specific rule for NATing 

I've sent a PR to fix these here I hope you guys test it and confirm it's functionality 

Thank

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...