User Tools

Site Tools


unix:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
unix:linux [2018/01/03 12:29]
ap New Linux networking commands - route examples
unix:linux [2019/02/11 18:09] (current)
ap [Create and enable a new custom service]
Line 177: Line 177:
  
 <​code>​ <​code>​
-firewall-cmd --permanent --new-service=ap-gre-pptp +firewall-cmd --permanent --new-service=my-gre-pptp 
-firewall-cmd --permanent --service=ap-gre-pptp --set-description='​GRE for PPTP'​ +firewall-cmd --permanent --service=my-gre-pptp --set-description='​GRE for PPTP'​ 
-firewall-cmd --permanent --service=ap-gre-pptp --set-short='​AP HACK - GRE for PPTP'​ +firewall-cmd --permanent --service=my-gre-pptp --set-short='​GRE for PPTP'​ 
-firewall-cmd --permanent --service=ap-gre-pptp --add-protocol=gre +firewall-cmd --permanent --service=my-gre-pptp --add-protocol=gre 
-firewall-cmd --permanent --zone=work --add-service=ap-gre-pptp+firewall-cmd --permanent --zone=public ​--add-service=my-gre-pptp
 </​code>​ </​code>​
 ===== New Linux networking commands ===== ===== New Linux networking commands =====
unix/linux.txt · Last modified: 2019/02/11 18:09 by ap

Informativa sui cookie