Skip to content

Instantly share code, notes, and snippets.

@TKasperczyk
Last active July 31, 2019 16:22
Show Gist options
  • Select an option

  • Save TKasperczyk/8a726a1a04e786b385c1361e503d3ee0 to your computer and use it in GitHub Desktop.

Select an option

Save TKasperczyk/8a726a1a04e786b385c1361e503d3ee0 to your computer and use it in GitHub Desktop.
An exemplary network configuration for a single proxy server
# Configuration for a single proxy server instance
ip addr add 10.0.0.2/30 dev eth0
ip rule add fwmark 500 table 500 prio 500
ip route add default via 10.0.0.1/30 table 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment