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

  • Upvote 2
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.

  • Recently Browsing   0 members

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