CentOS Linux ਵਿੱਚ ਮੁੜ-ਚਾਲੂ ਤੇ ਆਪ ਹੀ ਬਹਾਲ ਕਰਨ ਲਈ iptables ਸਥਾਪਤ ਕਰਨ ਲਈ ਕਰਨਾ ਹੈ?
iptables ਅੱਪ ਕਰਨ ਦੇ ਬਾਅਦ ਨਿਯਮ ਨੂੰ ਚੈੱਕ! iptables ਇਸ ਪੜਾਅ ਆਪਣੇ iptables ਨਿਯਮ ਦਿਖਾ ਦਿੱਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ ਤੇ -s.
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋiptables ਅੱਪ ਕਰਨ ਦੇ ਬਾਅਦ ਨਿਯਮ ਨੂੰ ਚੈੱਕ! iptables ਇਸ ਪੜਾਅ ਆਪਣੇ iptables ਨਿਯਮ ਦਿਖਾ ਦਿੱਤਾ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ ਤੇ -s.
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋਤੁਹਾਨੂੰ ਹੇਠ ਹੁਕਮ ਨੂੰ ਸਫਲਤਾਪੂਰਵਕ ਚਲਾਉਣ ਲਈ ਰੂਟ ਹੋਣ ਦਾ ਲੋੜ ਹੈ. su ਇੱਕ ਸੇਵਾ ਦੀ ਸੇਵਾ ਸ਼ੁਰੂ {ਸੇਵਾ ਦਾ ਨਾਮ} start
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋਇੰਸਟਾਲ ਕਰਨਾ ਅਤੇ SSH ਸਰਵਰ ਟੈਸਟਿੰਗ ਤੁਹਾਨੂੰ ਹੇਠ ਨੂੰ ਕੀ ਕਰਨ ਦੀ ਰੂਟ ਹੋਣ ਦੀ ਲੋੜ ਹੈ ਜਾਵੇਗਾ… su Install SSH Server
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋList all local users cat /etc/passwd You could also use the following command to print only the username part of
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋCheck the current iptables configuration iptables -S Your output should be empty as follows… -P INPUT ACCEPT -P FORWARD ACCEPT
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋEnsure the VM is powered off Configure the Network Settings -> Network Ensure Adapter 1 is attached to NAT
ਪੜ੍ਹਨਾ ਜਾਰੀ ਰੱਖੋ