歡迎您光臨本站 註冊首頁

求助:linux通過防火牆ftp登錄solaris連接超時問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

求助:linux通過防火牆ftp登錄solaris連接超時問題

小弟剛裝了台linux as3,內網IP,想ftp到另外一台solaris伺服器上(外網ip,在防火牆內),能登錄,可是一ls就連接超時了,但同樣從windows上ftp登錄上就可以ls,為什麼會這樣,該怎樣設置才能在linux上不會出現連接超時的問題?謝謝了!

在linux上ftp
ftp> sendport
Use of PORT cmds on.
ftp> open 132.96.80.18
Connected to 132.96.80.18.
220 BOSS-MW2 FTP server (SunOS 5.8) ready.
500 'AUTH GSSAPI': command not understood.
500 'AUTH KERBEROS_V4': command not understood.
KERBEROS_V4 rejected as an authentication type
Name (132.96.80.18:csq): newboss
331 Password required for newboss.
Password:
230 User newboss logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (132,96,80,18,179,113)
ftp: connect: Connection timed out
ftp>



ftp> mode
We only support stream mode, sorry.


--------
在windows上ftp
C:Documents and SettingsAdministrator>ftp 132.96.80.18
Connected to 132.96.80.18.
220 BOSS-MW2 FTP server (SunOS 5.8) ready.
User (132.96.80.18:(none)): newboss
331 Password required for newboss.
Password:
230 User newboss logged in.
ftp> ls
200 PORT command successful.
150 ASCII data connection for /bin/ls (10.116.5.121,5001) (0 bytes).
afiedt.buf
go_path.sh
jdbc
local.cshrc
local.login
local.profile
log
sqlnet.log
test3.jsp
226 ASCII Transfer complete.
《解決方案》

FTP 被動模式派生埠的狀態跟蹤問題
# modprobe ip_conntrack_ftp 即可解決問題
《解決方案》

載入ip_conntrack_ftp后,問題仍沒解決,求助中.....
《解決方案》

linux下設置ftp模式看看

[火星人 ] 求助:linux通過防火牆ftp登錄solaris連接超時問題已經有896次圍觀

http://coctec.com/docs/service/show-post-24526.html