Category: Networking

Open Linux Firewall Port

Open port 80 Open flle /etc/sysconfig/iptables: # vi /etc/sysconfig/iptables Append rule as follows: -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT Save and close the file. Restart iptables: # /etc/init.d/iptables restart via

SSH login without password

a@A:~> ssh-keygen -t rsa Now use ssh to create a directory ~/.ssh as user b on B. (The directory may already exist, which is fine): a@A:~> ssh b@B mkdir -p .ssh b@B’s password: Finally append a’s new public key to b@B:.ssh/authorized_keys and enter b’s password one last time: a@A:~> cat .ssh/ | ssh b@B ‘cat […]

XP to Windows7 networking

I had to rebuild my Windows7 Media Center PC a little while ago, that all went OK and its working fine now. I can watch all the media OK and add new media to it from me Windows Vista PC OK. So I thought everything was OK with. However, I built and XP laptop over […]