Skip to content
Snippets Groups Projects
Commit 4dec2210 authored by Daniel's avatar Daniel
Browse files

MAINT: Removed port forwarding rules from makefile.

parent ace9b8b2
No related branches found
No related tags found
No related merge requests found
......@@ -43,19 +43,6 @@ jar: compile
mvn clean compile assembly:single
# mvn assembly:single
start-portforwarding:
sudo iptables -t nat -N CAOSDB
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -g CAOSDB
sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -g CAOSDB
sudo iptables -t nat -A CAOSDB -p tcp --dport 80 -j REDIRECT --to-port $$(grep "SERVER_PORT_HTTP[^S]" conf/ext/server.conf | grep -o -e "[0-9]*")
sudo iptables -t nat -A CAOSDB -p tcp --dport 443 -j REDIRECT --to-port $$(grep "SERVER_PORT_HTTPS" conf/ext/server.conf | grep -o -e "[0-9]*")
stop-portforwarding:
sudo iptables -t nat -D PREROUTING -p tcp --dport 80 -g CAOSDB
sudo iptables -t nat -D PREROUTING -p tcp --dport 443 -g CAOSDB
sudo iptables -t nat -F CAOSDB
sudo iptables -t nat -X CAOSDB
antlr:
mvn antlr4:antlr4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment