Re: [shlug] 如何通过使通过路由器上网的主机得到静态的Public IP?

31 views
Skip to first unread message

艾军

unread,
Mar 26, 2013, 9:14:15 PM3/26/13
to sh...@googlegroups.com
你看看你的Router 有没有DMZ 的功能, 有的话,用就行了。 如果没有, 就用前面说的Port Forwarding.

在 2013年3月26日上午5:52,tyrant acg <acgt...@gmail.com>写道:
不过没有学习把Linux主机变成路由器的打算,毕竟连独立的路由器都有了。于是第二种解决方案依然最优。

在 2013年3月26日星期二UTC+8下午2时12分48秒,ShiRichard写道:
做实验的目的没有达到。。。。捉急啊。。。
 
From: tyrant acg
Sent: Tuesday, March 26, 2013 1:00 PM
Subject: Re: [shlug] 如何通过使通过路由器上网的主机得到静态的Public IP?
 
总算发现更好的代替方案了,的确可以用路由器进行静态IP分配进行端口映射,路由器真是好东东啊。总算不用破费买第二块网卡了。
 
谢谢各位热心的解答!

2013/3/26 david pu <pulq...@gmail.com>

好吧,那就像前面回复的,路由器上一般都有端口映射,设置一下一个和mac地址绑定的静态ip 再映射下端口。

On Mar 25, 2013 9:35 PM, "tyrant acg" <acgt...@gmail.com> wrote:
我的路由器支持PPPoE拨号呀,你看清楚问题,是台式机和笔记本同时连接路由器,路由器再连接房间仅的一个网口进行PPPoE拨号上网.

2013/3/25 david pu <pulq...@gmail.com>

找个支持PPPoE 拨号的路由器一了百了

On Mar 25, 2013 8:59 PM, "tyrant acg" <acgt...@gmail.com> wrote:
我有一台式机一笔记本一路由器,前两者均有线地连接路由器,后者通过PPPoE即宽带账号上网,其账号分配的IP是动态的还是静态的还不清楚.网口自然只有一个.
 
我搭服务器的练习教材是鸟哥的Linux私房菜-服务器篇,作者建议按照此规划练习(见附件),这样台式机就会变成服务器,分配到的IP自然应试Public,否则按我原来的规划的话,只会分到Private IP,大大提升了搭服务器练习的难度,请问有什么更好的办法打破这局面呢?例如通过路由器的设置使分配给台式机的IP变为Public?(我还不清楚是否真有这设置途径)
 
谢谢你的阅读并提前感谢热心人的解答!
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to mailto:shlug%...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 mailto:shlug%...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to mailto:shlug%...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了 Google 网上论坛“Shanghai Linux User Group”中的主题。
要退订此主题,请访问 https://groups.google.com/d/topic/shlug/QYCn-L70P3w/unsubscribe?hl=zh-CN。
要退订此论坛及其所有主题,请发送电子邮件到 mailto:shlug%...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 


 
--
Best wishes, --
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to mailto:shlug%...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 mailto:shlug%...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to mailto:shlug%...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了 Google 网上论坛“Shanghai Linux User Group”中的主题。
要退订此主题,请访问 https://groups.google.com/d/topic/shlug/QYCn-L70P3w/unsubscribe?hl=zh-CN。
要退订此论坛及其所有主题,请发送电子邮件到 mailto:shlug%...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 


 
--
Best wishes,
--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN

---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 



--
我是stone

Bin Sun Sunny

unread,
Apr 3, 2013, 3:38:01 PM4/3/13
to sh...@googlegroups.com
DMZ拿到的也不是公网ip, 而是所有端口都port forwarding. 如果实属必要还是选择端口开放吧, 安全一些.

不过我觉得如果教程本身完备而且lz是以学习为目的的话, 这个thread存在的必要性不强,  ....
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages