rs-loves-bugs / xsshunter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose ports on the internet from internal network (VPS)

e1abrador opened this issue · comments

Hello, I had a little issue I had to resolve by myself and I may help anyone installing this xsshunter version. I followed the steps on my VPS and docker opened ports only for localhost (internal network, not public), so if anyone has any issue the port can be exposed on the internet with iptables:

iptables -A INPUT -p tcp --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 443 -m state --state ESTABLISHED -j ACCEPT