Making Kippo Reachable

andrewmichaelsmith edited this page Sep 14, 2014 · 3 revisions

Making kippo reachable through port 22

Port forwarding

You can use iptables: sudo iptables -t nat -A PREROUTING -p tcp --dport 22 -j REDIRECT --to-port 2222

Running on port 22

If running on Windows, port 22 is usually free and it's ok to run kippo on that port.

On linux, port 22 is restricted for root only, except if you do this (quote from #twisted):

<ivan> at least on linux, setcap 'cap_net_bind_service=+ep' /path/to/program

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.