iptunnle (ipip)
来源:互联网 发布:婚纱网络客服干什么的 编辑:程序博客网 时间:2024/06/10 12:00
ip tunnel连接Linux主机对Linux主机VPN
主机A外网IP 123.45.67.8 内网: IP:10.0.0.1
主机B外网IP 8.76.54.32 内网: IP:10.0.0.2
A主机执行
modprobe ipip
modprobe ip_gre
ip tunnel add ipip mode gre remote 8.76.54.32 local 123.45.67.8
ip link set ipip up
ip addr add 10.0.0.1/30 dev ipip
ifconfig ipip 10.0.0.1 pointopoint 10.0.0.2
B主机执行
modprobe ipip
modprobe ip_gre
ip tunnel add ipip mode gre remote 123.45.67.8 local 8.76.54.32
ip link set ipip up
ip addr add 10.0.0.2/30 dev ipip
ifconfig ipip 10.0.0.2 pointopoint 10.0.0.1
- iptunnle (ipip)
- 在Linux上通过IPIP实现IP隧道
- :(:)
- :)
- :)
- ()
- )))))))))))))
- fput(); fgetc();
- gluLookAt() gluPerspective()
- (转)ioctl()
- getch(),getchar()
- call()、apply()。
- call(),apply()
- ((void*)-1)
- rand()&srand()
- fork()&vfork()
- avcodec_send_packet()/ avcodec_receive_frame()
- 答辩通过啦!:)))))
- T-SQL入门攻略之2-SQL数据类型
- java与json互相转换(解决日期问题)
- 在VC中编译、运行程序的小知识点
- 面临选择
- WebLogic的Session持久化策略
- iptunnle (ipip)
- linux 三种特殊权限简介 s suid sgid sticky-bit
- Materialized Views 物化视图 -基础篇
- 考
- 公司网站被挂木马处理过程
- QTP测试AJAX时的等待问题
- 用 document.readyState == "complete" 判断页面是否加载完成
- 警大特卫培训招生
- 生育津贴相关