ãæ®æ®µã¯ISP1ã使ãã¤ã¤ããµã¼ãç¨ã«ã¯åºå®IPãè²°ããï¼i-revoãªã©ã®ï¼ISP0ã使ããããã¨ãã£ããããããPPPoEãã«ãã»ãã·ã§ã³ç°å¢ã«ãããNATã¨ãã¼ããã©ã¯ã¼ãã£ã³ã°ã®åé¡ã解決ããã ãããã¯ã¼ã¯æ§æ ã¾ãã¯åææ¡ä»¶ãã æ§æå³ ã«ã¼ã¿Linuxãã·ã³ ç©çIF WANå´: eth0 LANå´: eth1 ppp ppp0: ISP0ï¼ãµã¼ãç¨åºå®IPï¼ ppp1: ISP1ï¼å¤åºç¨åçIPï¼ IP WANå´: X.X.X.X (ppp0), Y.Y.Y.Y (ppp1) LANå´: 192.168.0.1 (eth1) LANå
ã¦ã§ããµã¼ãã¼ IP: 192.168.0.2 ã¦ã§ããµã¼ãã¼ã«ã¢ã¯ã»ã¹ãã¦ããå¤é¨ã®ã¯ã©ã¤ã¢ã³ã IP: 192.0.2.4 è¨å®æé iptablesã®ãã±ããããã¼å³ãè¦ãªããèªãã§æ¬²ããã ã¾ããå
é¨ãã¹ãããã®å¤åãã®éä¿¡ï¼é常ã®å¤åº
{{#tags}}- {{label}}
{{/tags}}