http://ask.xmodulo.com/change-network-interface-name-centos7.html
yum install net-tools
yum remove NetworkManager
http://gesielbernardes.eti.br/ifconfig-centos-7.html
http://www.cyberciti.biz/faq/rhel-centos-linux-7-restart-networking-command-line/
sudo systemctl start network.service
sudo systemctl status network.service
Your firewall commands didn’t work with my fresh CentOS 7 install.
I had to do the follwoing to access my webserver/httpd remotely:
[code]firewall-cmd –permanent –zone=public –add-port=80/tcp
systemctl restart firewalld.service
http://unix.stackexchange.com/questions/205867/viewing-all-iptables-rules
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7
https://devops.profitbricks.com/tutorials/deploy-outbound-nat-gateway-on-centos-7/
I had to do the follwoing to access my webserver/httpd remotely:
[code]firewall-cmd –permanent –zone=public –add-port=80/tcp
systemctl restart firewalld.service
http://unix.stackexchange.com/questions/205867/viewing-all-iptables-rules
iptables --table nat --list
iptables -t nat -L
iptables -vL -t filter
iptables -vL -t nat
iptables -vL -t mangle
iptables -vL -t raw
iptables -vL -t security
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7
https://devops.profitbricks.com/tutorials/deploy-outbound-nat-gateway-on-centos-7/
--- parece que funciona ---
https://www.centos.org/forums//viewtopic.php?f=51&t=53425
roteamento entre redes:
http://unix.stackexchange.com/questions/217872/centos-7-firewalld-passthrough-traffic-with-firewall-cmd
--- firewalld
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html
--firewall log
https://bluehatrecord.wordpress.com/2014/04/17/logging-packet-drops-in-firewalld/
0 comentários:
Postar um comentário