找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3066|回复: 10

求助:tomato 怎么安装 socat

[复制链接]
发表于 2020-2-12 21:49 | 显示全部楼层 |阅读模式
想用socat做IPV6映射IPV4,有没有什么办法?TOMATO路由器
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-2-12 23:22 | 显示全部楼层
Tomato的entware包含socat套件,直接用opkg install socat即可。

我的Netgear R6250,用的是FreshTomato 2019.4 firmware。可以看到如下输出。
root@unknown:/tmp/home/root# opkg list | grep socat
socat - 1.7.3.3-1 - SoCat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, logging and tracing, different modes for interprocess communication and many more options.
root@unknown:/tmp/home/root#

点评

麻烦指导一下?  详情 回复 发表于 2020-2-13 10:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-12 23:59 来自手机 | 显示全部楼层
我qq 904842429 能否详细指导下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-13 10:18 | 显示全部楼层
roberthuang 发表于 2020-2-12 23:22
Tomato的entware包含socat套件,直接用opkg install socat即可。

我的Netgear R6250,用的是FreshTomato ...

麻烦指导一下?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-13 22:59 | 显示全部楼层
我在国外,和你时区不同,也不用QQ。

把你的问题在这里提出来,我或者其他网友会解答的。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-14 15:17 | 显示全部楼层
执行 opkg install socat  提示没有opkg ,应该怎么安装?

点评

路由器型号?安装了谁的Tomato,以及版本号? 没有这些信息,神仙也回答不了你的问题。  详情 回复 发表于 2020-2-17 00:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-15 15:49 | 显示全部楼层
谢谢楼主分亨!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-17 00:18 | 显示全部楼层
kaiji 发表于 2020-2-14 15:17
执行 opkg install socat  提示没有opkg ,应该怎么安装?

路由器型号?安装了谁的Tomato,以及版本号?

没有这些信息,神仙也回答不了你的问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-2-17 11:28 | 显示全部楼层
我用烽火HG320路由器刷了Tomato固件,已经实现了WAN口IPV6地址端口映射到LAN口IPV4地址,考虑到烽火HG320路由器10多元就可以买到,连接光猫可以得到IPV6地址,方便控制内网各种上网设备,谢谢大家参与
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-2-17 23:04 | 显示全部楼层
Tomato有太多人发布的不同的版本,功能各不相同。我以前用Shibby Tomato,现在转用Fresh Tomato。

除非你熟悉Linux系统,否则我不推荐购买烽火HG320这种中国独有的路由器。因为这种路由器国外流行的第三方软件不可能提供直接的支持,而国内改版的,往往作者因为各种各样的原因不能提供持续的软件更新。

我用过Linksys/Asus/Negear的各种路由器,但从没有用过你的这种路由器。在网上找了篇文章,供参考。提醒刷机有风险。
https://ilmvfx.wordpress.com/201 ... tomato-shibby-v138/
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-4-3 11:49 | 显示全部楼层
谢谢,问题已经解决,可以用脚本实现IPV6动态域名解析,可以实现IPV6的FTP服务器,还可以实现端口映射,就是用IPV6来实现IPV4设备的通信
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-23 18:22

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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