TCP/IP 端口重定向记录.通过在服务器安装运行此程序, 可以使因特网上的计算机访问局部网内的计算机建立的HTTP、FTP与SMTP服务,
*包含IP 安全(与Win2K/WinXP 上秘密端口)
* 多数TCP都通过代理连接
* 能通过'PORT'与'PASV'命令使用FTP
* SMTP relay filtering
* SSL 支持
* 运行所有 Windows上的一种服务程序
* 能记录所有数据
* 非常好的网络调试程序
* 能重定向许多端口
使用说明:
在自己电脑上开设ftp.
ip:192.168.0.66
端口:21
在服务器上porttunnel使用时
增加-〉常规―〉
名字:任意
输入端口:21(注意21,80等)
捆绑地址:X.X.X.X
输出端口:21
输出地址:192.168.0.66
ftp选项-〉选择“使用port与pasv命令”
激活
即可
read ReadMe_ENGUK.txt in PortTunnel_ENGUK.zip for the most upto date info.
我确实需要写一个说明文档, 但我没有写:-)
********** [ 主要参数 ] **********
启用: 启用/停止端口映射
输入端口和捆绑地址: 内部网的某一台计算机端口与IP地址
输出端口和输出地址: 代理服务器出口的端口和IP地址或域名
缓冲大小: if you filll porttunnel is slowing down you through put,
try increasing this value. (only likely to be necessary on very high volume connections)
最大连接数目: allows you to define how many connections can be using the mapping at once (connections attempts above this will be blocked).
Force OOB inline: fixes a few issues with some ftp clients (I've only seen it needed with Bullet Proof FTP client)
********** [ 主要参数结束 ] **********
********** [ HTTP&FTP options ] **********
代理 http 1.1 连接: 通过这个代理与外部连接
如:你现在通过代理服务器正在上网,要想聊天,创建在127.0.0.1/6667上映射一个端口,代理服务器
地址ircserver.company.com/6667, 映射到你的127.0.0.1/6667上.
使用代理服务登录: 使用用户与口令上代理服务器
transalte ftp port and pasv: if you are redirecting a ftp connection, tick this.
********** [ end HTTP&FTP options ] **********
********** [ IP 安全操作 ] **********
main text window: enter the IPs you want to accept/block.
search for ip: allows you ask which line will decide the result of a connection request from a choosen IP.
redirect bad IPs: allows you to redirect 'blocked' ips to a different ip/port.
if this is ticked and has 0 for the port or a blank address, the IP will be blocked.
if this is ticked and doesn't have 0 for the port and doesn't doesn't a blank address, the IP will be redirected.
if this is un ticked and you are using win2k/xp then the IP will be blocked, and the port placed in stealth mode (the client doesn't receive any reply to the attempted connection - they will just time out as though there was no server PC at the address/port at all)
if this is un ticked and you are not using win2k/xp. the IP will be blocked.
advanced stuff ........
to use an external file for the ips, do something like the following
1. in the IP Security tab, enter
i,c:\valid_ips.txt
2. create c:\valid_ips.txt, and use the same syntax inside it eg.
y,127.0.0.1
y,12.34.56.78
n,*
// etc
and then every time you modify c:\valid_ips.txt, porttunnel will notice, and reload it. (it checks the date/time stamp every 30 seconds). so have your perl script (or whatever method you choose) generate/update c:\valid_ips.txt whenever you want. you can even 'nest' these files, ie have one c:\valid_ips.txt include another file with the 'i' syntax. you can also have multiple includes, etc. here's an example I just typed up, to show you the flexibility ....
----- [start example] -----
----- [in ftp port mapping IP security tab] -----
i,c:\ftp_valid_ips.txt
----- [end] -----
----- [in irc port mapping IP security tab] -----
i,c:\irc_valid_ips.txt
----- [end] -----
----- [in file c:\ftp_valid_ips.txt] -----
i,c:\global_ban_list.txt
y,34.56.78.99 // a friend I let use ftp
i,c:\global_ok_list.txt
n,*
----- [end] -----
----- [in file c:\irc_valid_ips.txt] -----
i,c:\global_ban_list.txt
y,12.45.12.45 // a friend I let use irc
i,c:\global_ok_list.txt
n,*
----- [end] -----
----- [in file c:\global_ok_list.txt] -----
y,66.66.66.66 // a friend I let use every thing
----- [end] -----
----- [in file c:\global_ban_list.txt] -----
n,33.44.66.77 // a lamer I hate
----- [end] -----
----- [end example] -----
try studying the default stuff in the IP Security tab, that has simple examples showing the syntax.
********** [ end IP Security options ] **********
********** [ 日志记录操作 ] **********
连接: 记录连接的信息(并且详细断开)和错误
所有数据: 有关调试问题数据保存在这个文件夹
写状态: 接收与发送的有关信息保存在这个文件中
日期格式:
d Day of month as digits with no leading zero for single-digit days.
dd Day of month as digits with leading zero for single-digit days.
ddd Day of week as a three-letter abbreviation.
dddd Day of week as its full name.
M Month as digits with no leading zero for single-digit months.
MM Month as digits with leading zero for single-digit months.
MMM Month as a three-letter abbreviation.
MMMM Month as its full name.
y Year as last two digits, but with no leading zero for years less than 10.
yy Year as last two digits, but with leading zero for years less than 10.
yyyy Year represented by full four digits.
gg Period/era string. This element is ignored if the date to be formatted does not have an associated era or period string.
For example, to the following
Wed, Aug 31 94
use the following string
dd',' MMM dd yy
时间格式:
h Hours with no leading zero for single-digit hours; 12-hour clock
hh Hours with leading zero for single-digit hours; 12-hour clock
H Hours with no leading zero for single-digit hours; 24-hour clock
HH Hours with leading zero for single-digit hours; 24-hour clock
m Minutes with no leading zero for single-digit minutes
mm Minutes with leading zero for single-digit minutes
s Seconds with no leading zero for single-digit seconds
ss Seconds with leading zero for single-digit seconds
t One character time marker string, such as A or P
tt Multicharacter time marker string, such as AM or PM
For example, to get the following
11:29:40 PM
use the following string
hh':'mm':'ss tt
********** [ 日志记录结束 ] **********
[email protected]
本地下载