找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 5087|回复: 1

关于端口回流,请E文好的朋友帮帮忙,先谢过

[复制链接]
发表于 2006-6-3 11:46:54 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
关于端口回流,请E文好的朋友帮帮忙,先谢过

我看到别人写的回流需要做如下操作,但是本人E文不好,能否哪位兄弟E文好的翻译下中文应该如何操作,感谢.
1. download my mods
    http://61.132.118.190/m0n0/1.2b9/etc/rc.newwanip
    http://61.132.118.190/m0n0/1.2b9/etc/inc/filter.inc
    http://61.132.118.190/m0n0/1.2b9/usr/local/www/firewall_nat.php
    http://61.132.118.190/m0n0/1.2b9 ... rewall_nat_edit.php
    http://61.132.118.190/m0n0/1.2b9 ... irewall_nat_out.php
    http://61.132.118.190/m0n0/1.2b9 ... ll_nat_out_edit.php
    http://61.132.118.190/m0n0/1.2b9 ... services_dyndns.php

2. download 3322.org dynamic dns client for freebsd and extract ez-ipupdate

3. login to m0n0's web gui and goto exec.php then upload those files

4. execute the following command in exec.php
    umount /cf; mount -rw /cf; mkdir /cf/patch
    cd /cf/patch; mkdir etc etc/inc user usr/local usr/local/bin usr/local/www
    cd /tmp; chmod +x ez* rc*; cp rc* /etc; cp *inc /etc/inc; cp *php /usr/local/www; cp ez* /usr/local/bin
    cd /cf/patch; cp /tmp/rc* etc; cp /tmp/*inc etc/inc; cp /tmp/*php usr/local/www; cp /tmp/ez* usr/local/bin
    sync; sync; sync; umount /cf; mount /cf

5. download your config file, open it in a text editor, and add the following to the  section
    /bin/echo -n Applying patches... > /dev/console
    /bin/cp -R /cf/patch/* /
    /bin/echo -n done. > /dev/console

6. save the config file and upload it back to m0n0

7. enable dyndns, select 3322.org and setup your account. be sure to add a dns server in the general setup page first

8. setup inbound and outbound nat rules to make the redirected service accessible to client from within lan. read my email in m0n0wall's mailing list for more detail
    http://m0n0.ch/wall/list/showmsg.php?id=186/63

9. please note, in that post, the inbound rule for transparent proxying working is wrong. here is the correct one
>
>3. add inbound/outbound nat rules for transparent proxying
>        inbound rules 1:
>                Interface:                        LAN
>+++                 Source:                        not A.B.C.D5/32
>                External address:                Any Address
>                Protocol:                        TCP
>                External port range.from:        80
>                NAT IP:                        A.B.C.D5
>                Local port:                        3128

10. bugs? post here please. thank you
,
routeros
发表于 2006-6-3 19:43:24 | 显示全部楼层
重点看:
http://m0n0.ch/wall/list/showmsg.php?id=186/63
这个里面的详细,还有一个做好的img文件,按最后的方案设置就可以了。
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-22 17:15 , Processed in 0.042739 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表