Çë½Ì¹ØÓÚLinuxµÄiptablesµÄnat
192.168.0.201ÊÇLinux
192.168.0.35ÊÇÁíÍâһ̨װÓÐWEBµÄ·þÎñÆ÷£¬
ÎÒÏë·ÃÎÊ192.168.0.201µÄʱºò
ÈÃËûnatµ½192.168.0.35µÄ80ÉÏ¡£
ÒÔÏÂÊÇÎÒÉèÖõģ¬µ«ÊDz»ÐС£Ó¦¸ÃÔõôÉèÖÃѽ£¿
root@ubuntu:/home/# iptables -t nat -F
root@ubuntu:/home/# iptables -t nat -X
root@ubuntu:/home/# iptables -t nat -A PREROUTING -i eth0 -d 192.168.0.201 -p tcp --dport 80 -j DNAT --to 192.168.0.35:80
root@ubuntu:/home/# iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.35 -p tcp --sport 80 -j SNAT --to 192.168.0.201:80
ÓÃtcpdump×¥°ü¿´¿´¾ßÌåµÄ·¢°ü.
ÁíÍâ, ÐèÒª¿ªÆôipv4_forward
ÒѾ net.ipv4.ip_forward = 1 ¹ýÁË£¬¿É»¹ÊDz»ÐÐ
Ä㻹Ҫȷ±£´Óserver·µ»ØµÄÊý¾Ý°üÒ»¶¨»¹»á¾¹ýlinuxµÄ»úÆ÷¡£
[
UP
ÎÒ·¢ÏÖ¿Í»§»úÎÞ·¨Á¬½Óµ½linuxµÄ»úÆ÷
ËùÒÔ¼ÓÁËÕâÁ½Ìõ
iptables -t filter -A INPUT -s 192.168.0.200/24 -j ACCEPT
iptables -t filter -A OUTPUT -d 192.168.0.200/24 -j ACCEPT
µ«ÊÇ»¹ÊÇÁ¬²»ÉÏLinux
192.168.0.35ÊÇweb·þÎñÆ÷
192.168.0.201ÊÇLinux»ú
192.168.0.200ÊÇ¿Í»§»ú
ÎÒÏëÓÃ200ͨ¹ý201µÄnatÁ¬½Ó35µÄ80ÉÏ
Ïà¹ØÎÊ´ð£º
¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£
Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓ ......
ÒÔÇ°¶¼ÊÇÔÚwindowsÏ¿ª·¢µÄ°¢£¬Óе㺦Å°¢
ÏñQQ£¬eclipse£¬oracleÕâЩÈí¼þ¶¼×°ÔÚÄĸöÎļþ¼ÐÏ°¢£¿£¨ÎÒºÃÏñ¾Í¿´¼ûÒ»¸ö¡°¼ÆËã»ú¡±Îļþ¼Ð£©
×°µÄʱºòÊDz»ÊÇÒ²ÒªÏñwindowsÏÂËƵĵã»÷.exeÎļþ¿ªÊ¼°¢£¿
ºÜ¼±£¬Â·¹ ......
ÎÒдÁËÒ»¸öOCCIµÄ³ÌÐò,¸Ã³ÌÐòÔÚlinuxÏÂÃæÔËÐÐÒ»ÇÐÕý³£,µ«ÊÇͬÑùµÄ´úÂëµ½AIXÏÂÔÙ±àÒëÔËÐоͳöÎÊÌâÁË.¶øÇÒÒ»´ÎÌá½»ÊýÁ¿µÄ²»Í¬,±¨µÄ´íÒ²²»Í¬.
C/C++ code:
#include <iostream>
#include <occi.h>
u ......
Ó²ÅÌÉÏÓÐÁ½ÖÖOSµÄ¾µÏñ£¬Ghost¿ÉÒÔ½«ÈÎÒâÒ»¸ö»¹Ôµ½CÅÌ¡£
ÇëÎÊÕâ¸öЧ¹ûÓÐÈí¼þÄÜ×öµ½Âð£¿
ÄãÎʵÄ©¶´Ì«¶à ²»ºÃ»Ø´ð
»¹ÓÐÖØÒªµÄÒ»µã ½áÌûÂÊ£º0.00%
ÒòΪÎÒÖ»·¢ÁËÁ½Ìû£¬µÚÒ»ÌûÊÇ1¸öСʱǰ·¢µÄ
Äã ......
ÎÒÔÚwindows ÏÂÒ»Çж¼Õý³££¬ µ«ÊÇÒÆÖ²µ½linux apache + tomcat5.5 Ï ÔÚÉÏ´«Í¼Æ¬µÄʱºò µã»÷ ¡°ä¯ÀÀ·þÎñÆ÷¡± ºó ¾Í±¨
The server didn't send back a proper XML response . please contact your ......