Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Ensure Hotspot Server can communicate back to clients #179

Open
timwhite opened this issue Oct 6, 2018 · 0 comments
Open

Ensure Hotspot Server can communicate back to clients #179

timwhite opened this issue Oct 6, 2018 · 0 comments
Assignees
Milestone

Comments

@timwhite
Copy link
Contributor

timwhite commented Oct 6, 2018

While you can currently ping from the hotspot server to a client, you can't initiate a new connection to a client.

Something like the following allows those connections to work.

diff --git a/chilli/up.sh b/chilli/up.sh
index bf6fbda..9f2c9c4 100755
--- a/chilli/up.sh
+++ b/chilli/up.sh
@@ -47,7 +47,8 @@ then
            ipt_in -p udp -d $ADDR --destination-port 67:68 -j ACCEPT
            ipt_in -p udp --dst $ADDR --dport 53 -j ACCEPT
            ipt_in -p icmp --dst $ADDR -j ACCEPT
-           
+          
+            ipt -A INPUT -i $TUNTAP -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT 
            ipt -A INPUT -i $TUNTAP --dst $ADDR -j DROP
            
            if [ "$ONLY8021Q" != "1" ]
@timwhite timwhite added this to the 3.8.1 milestone Oct 6, 2018
@timwhite timwhite self-assigned this Oct 6, 2018
@timwhite timwhite modified the milestones: 3.8.1, 4.1 Mar 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant