Created
August 4, 2011 13:55
-
-
Save terrancesnyder/1125199 to your computer and use it in GitHub Desktop.
Zypper on OpenSuse 10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zypper service-add -repo http://download.opensuse.org/repositories/server:/http/SLE_10/ | |
zypper install haproxy | |
zypper service-add -repo http://download.opensuse.org/repositories/utilities/SLE_10/ | |
zypper install htop |
this successfully allows wget locally
iptables -t nat -I OUTPUT --source 0/0 --destination 0/0 -p tcp --dport 80 -j REDIRECT --to-ports 7011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
allow localhost example
iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 7011
iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 7011