Comments (6)
续上:win7的子网地址是192.168.42.100,
我该如何,设置可以实现a.b.c.d:3389转发到192.168.42.100:3389呢?
非常感谢!
from docker-ipsec-vpn-server.
docker run -p 3389:3389 已经实现把公网ip转发到ipsec-vpn容器,
也就是
a.b.c.d:3389 => 192.168.42.1:3389
但是现在不知道如何实现
192.168.42.1:3389 => 192.168.42.100:3389
我的ipsec-vpn容器服务器linux运行在公有云中,ip是a.b.c.d
我主要是想这样来实现把家里其中一台win7客户端通过ipsec链接开放3389端口出去,
这样的话我在外面就可以实现a.b.c.d:3389链接我家里的win7桌面了
from docker-ipsec-vpn-server.
@huangsen365 你好!据我所知,这样的通过 VPN 的端口转发很难实现。你可以另外尝试 GRE Tunnel (请搜索相关教程),或者直接在你的家用路由器上进行端口转发(如果是动态 IP,可考虑用 Dyn 或 No-IP 等服务)。
from docker-ipsec-vpn-server.
@hwdsl2 用 iptables 可做port forwarding吗?不管怎样,还是谢谢您!
from docker-ipsec-vpn-server.
@huangsen365 如上所述,这个端口转发我觉得很难实现。还是建议你尝试上面的其它解决方案。
from docker-ipsec-vpn-server.
感谢大神,我会按照您建议去尝试那些方法的!
另外我现在也已经找到workaround,暂时通过ssh turning实现顶着,
https://superuser.com/questions/96489/an-ssh-tunnel-via-multiple-hops
既可以做socks5代理,也可以做端口转发,缺点就是网络性能会相对VPN隧道差一点
还有autossh这个命令,可以自动重连ssh session
from docker-ipsec-vpn-server.
Related Issues (20)
- Unable to install IKEv2 .mobileconfig file on iOS/macOS HOT 2
- Doesn't connect from iPhone's mobile network HOT 4
- 能否增加永久开启日志选项或者新镜像 HOT 1
- 添加VPN_ANDROID_MTU_FIX=yes,安卓11设备连接L2TP/IPSec PSK仍只能ping通外网,不能访问网站 HOT 2
- 您好,极空间的nas赋予ipsec vpn net_admin权限,会导致docker中使用桥接容器内的网络不通,只有改为host模式才可以访问 HOT 1
- IKEv2模式会自动启用密码保护 HOT 1
- 没公网ipv4,只有公网ipv6要如何设置 HOT 1
- add functionality to script HOT 1
- Cannot connect using IKEv2 HOT 2
- VPN_CONFIG_PROTECT password invalid HOT 2
- 是不能直接在局域网内部署吗,必需得连接公网? HOT 1
- Conceal sensitive data in container logs HOT 1
- authentication failed: peer attempted PSK authentication but we want rsasig HOT 1
- 能ping通服务器同网段其他主机,但没法http访问 HOT 9
- IKEv 客户端每次创建都有默认密码,使用VPN_PROTECT_CONFIG=no 配置不生效 HOT 3
- Windows10 连接失败 HOT 1
- docker 运行一段时间后,就连接不上了,需要重启 HOT 1
- 初次配置连接不上 HOT 3
- 我把容器500、4500端口分别映射到宿主机4501,4500端口,防火墙开了对应的两个udp端口 HOT 1
- client not accessing remote network HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ipsec-vpn-server.