New Install - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html) +--- Thread: New Install (/thread-3267.html) |
New Install - mechtn - 2004-07-02 At the command prompt i did 'lokkit' and then set my firewall to enable. Back at the command prompt i did 'iptables-save' and this gave a result of.. # Generated by iptables-save v1.2.9 on Sat Jul 3 05:38:33 2004 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type 255 -j ACCEPT -A RH-Firewall-1-INPUT -p esp -j ACCEPT -A RH-Firewall-1-INPUT -p ah -j ACCEPT -A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT New Install - anyweb - 2004-07-02 looks fine, now continue.... ps. for those reading this we are doing this live on #linux-noob on EFNET in IRC cheer anyweb New Install - mechtn - 2004-07-02 Ok great, so now I got the firewall running and want to SSH into my box remotely to continue working on it. i use ifconfig -a to view my network configuration and find my ip address i downloaded PuTTy (a SSH client for windows) and connected to my ip address across the network. network error! Ok go back and run 'lokkit' and then choose customize and select SSH. do the whole 'iptables-save' routine again and lets try again... w00t.. i'm in like flin! *ekk cant believe i said that* Ok .. Going to assign it a static ip address and then move it out on the internet. Will post that in a few. mechtn New Install - mechtn - 2004-07-02 > neat Error in sys.excepthook: Traceback (most recent call last): File "/usr/sbin/neat", line 67, in <lambda> PROGNAME, PRG_VERSION) File "/usr/lib/python2.3/site-packages/rhpl/exception.py", line 240, in handleException import gtk ImportError: No module named gtk Original exception was: Traceback (most recent call last): File "/usr/sbin/neat", line 70, in ? import gtk ImportError: No module named gtk New Install - mechtn - 2004-07-03 rpm -Uvh [/url]ftp://ftp.linux.ncsu.edu/pub/fedora/linux....3.3-7.i386.rpm rpm -Uvh ftp://ftp.linux.ncsu.edu/pub/fedora/linux....0.3-5.i386.rpm rpm -Uvh ftp://ftp.linux.ncsu.edu/pub/fedora/linux...4-8.44.i386.rpm rpm -Uvh ftp://ftp.linux.ncsu.edu/pub/fedora/linux...3.3-27.i386.rpm rpm -Uvh ftp://ftp.linux.ncsu.edu/pub/fedora/linux...3.3-27.i386.rpm rpm -Uvh [url=ftp://ftp.linux.ncsu.edu/pub/fedora/linux....3.3-7.i386.rpm]ftp://ftp.linux.ncsu.edu/pub/fedora/linux....3.3-7.i386.rpm had to download all these so files could compile! New Install - mechtn - 2004-07-03 and more.... rpm -Uvh [/url]ftp://ftp.linux.ncsu.edu/pub/fedora/linux....3.3-7.i386.rpm rpm -Uvh [url=ftp://ftp.linux.ncsu.edu/pub/fedora/linux....3.3-7.i386.rpm]ftp://ftp.linux.ncsu.edu/pub/fedora/linux....3.3-7.i386.rpm New Install - mechtn - 2004-07-03 and more... rpm -Uvh [/url][url=ftp://ftp.linux.ncsu.edu/pub/fedora/linux...a-31.1.i386.rpm]ftp://ftp.linux.ncsu.edu/pub/fedora/linux...a-31.1.i386.rpm New Install - mechtn - 2004-07-03 To get apt working i had to download and install apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm Versions of software installed as follows... mysql-4.0.20.tar.gz apache_1.3.31.tar.gz php-4.3.7.tar.tar New Install - mechtn - 2004-07-03 also got phpbb installed! w00t! i'm up and running full speed.. have i missed anything? New Install - mechtn - 2004-07-03 # Generated by iptables-save v1.2.9 on Sun Jul 4 01:48:42 2004 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [5:964] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type 255 -j ACCEPT -A RH-Firewall-1-INPUT -p esp -j ACCEPT -A RH-Firewall-1-INPUT -p ah -j ACCEPT -A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 23 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 25 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 110 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT # Completed on Sun Jul 4 01:48:42 2004 |