Rocks 5.3에서 samba 서버를 사용할 경우
iptables Firewall 때문에,, 외부에서는 접속이 안됩니다.
아래와 같은 명령으로 samba 관련 포트를 열어야 사용할 수 있습니다.
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto tcp --dport 137 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto tcp --dport 138 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto tcp --dport 139 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto tcp --dport 445 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto udp --dport 137 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto udp --dport 138 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto udp --dport 139 --jump ACCEPT
/sbin/iptables --insert INPUT --source your.ip.networks.0/255.255.255.0 --in-interface eth1 --proto udp --dport 445 --jump ACCEPT
iptables -L
service iptables save
'Rocks' 카테고리의 다른 글
Rocks 5.4 발표 일정 (5) | 2010.06.25 |
---|---|
Rocks 설치할 때 USB CD-ROM 인식 (0) | 2010.06.25 |
SGE error: ending connection before all data received (0) | 2009.11.17 |
성능비교의 오류 (0) | 2009.07.15 |
Install Intel Fortran Compiler and MPI Library on Rocks 5.1 (0) | 2009.06.23 |