利用防火牆
/sbin/ipfw add 102 allow ip from {你要的IP} to me 23 via {網卡代號}
/sbin/ipfw add 103 deny ip from any to me 23 via {網卡代號}
※ 引述《mitsui0309 (前途無量、前途無亮??)》之銘言:
: as title
: 已爬過文了,也估狗過了
: 因為server的安全
: 所以想要設定ftp只能給某個特定的ip登入
: 想請教各位前輩該怎麼做
: 謝謝~~
--
/sbin/ipfw add 102 allow ip from {你要的IP} to me 23 via {網卡代號}
/sbin/ipfw add 103 deny ip from any to me 23 via {網卡代號}
※ 引述《mitsui0309 (前途無量、前途無亮??)》之銘言:
: as title
: 已爬過文了,也估狗過了
: 因為server的安全
: 所以想要設定ftp只能給某個特定的ip登入
: 想請教各位前輩該怎麼做
: 謝謝~~
--
All Comments