Skip to content

yuseinishiyama/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

home

My home infrastructure

Proxy server configurations

Enable remote forwarding

  1. Add GatewayPorts yes to /etc/ssh/sshd_config
  2. Restart ssh service by sudo systemctl restart sshd

Redirect well-known ports for non-root binding

$ sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
$ sudo iptables -t nat -I PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 8443

About

Where I live

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published