IPChains & Transproxy & NAT & Router

IPChains & Transproxy & NAT & Router

Post by Xosa Chan » Mon, 04 Oct 1999 04:00:00



Hi ! Everybody, I have a problen.

      WAN-Internet
               |
               |
+----------------------+
|   139.175.1.254   |  Gateway  (Real ip)
+----------------------+
               |                             PC1
               |                        +------------------+  (Real ip)
               +------------------|   139.175.1.5  |  Web Proxy (NT Server)
               |                        +------------------+  port : 12345
               |
+------------------------+
|  139.175.1.1(eth0)  |  (Real ip)
|                                |    RH6(2.2.5-15) + ipchains + transproxy
| 192.168.1.1 (eth1)  |    PC2
+------------------------+
                |
                |   LAN-Internal
   +--------------------+
   |  192.168.1.2     |   PC3
   +--------------------+

I use RH6 install  one router?A
1. I edit  /etc/sysconfig/network
    FORWARD_IPV4=yes

2. and i install transproxy-0.4.1
    standalong startup  in.tproxyd -s 8081 -r nobody 139.175.1.5 12345(use
standalong mode)

3.  /etc/services   tproxy is use port 8081(tcp)

4.   at IPChains
    ipchains -P forward DENY
    ipchains -A forward -s 192.168.1.0/24 -j MASQ
    ipchains -A input -p tcp -s 192.168.1.0/24 -i eth1 -j REDIRECT 8081

4. PC3 work very fine,it's can connect internet (Ex. send/ receive Email?A
Read News and
     Ftp download files ,no problem?C
    But PC2can't browser WWW?]PC2don't set proxy server ip at Outlook
express?^?A
    User(at 192.168.1.X)  that don't know webCache(139.175.1.5) proxy all
port 80

5. Anybody can Help me ,please?

Many Thanks

 
 
 

IPChains & Transproxy & NAT & Router

Post by HK Wo » Wed, 06 Oct 1999 04:00:00


Hi, Chang

I am going to try to setup a NAT application in my Linux system which have
two network card similar to your PC2.

However, I don't have any idea how to setup the application. Please give me
some procedure how to do it.

Thank you!

Kai


>Hi ! Everybody, I have a problen.

>      WAN-Internet
>               |
>               |
>+----------------------+
>|   139.175.1.254   |  Gateway  (Real ip)
>+----------------------+
>               |                             PC1
>               |                        +------------------+  (Real ip)
>               +------------------|   139.175.1.5  |  Web Proxy (NT Server)
>               |                        +------------------+  port : 12345
>               |
>+------------------------+
>|  139.175.1.1(eth0)  |  (Real ip)
>|                                |    RH6(2.2.5-15) + ipchains + transproxy
>| 192.168.1.1 (eth1)  |    PC2
>+------------------------+
>                |
>                |   LAN-Internal
>   +--------------------+
>   |  192.168.1.2     |   PC3
>   +--------------------+

>I use RH6 install  one router?A
>1. I edit  /etc/sysconfig/network
>    FORWARD_IPV4=yes

>2. and i install transproxy-0.4.1
>    standalong startup  in.tproxyd -s 8081 -r nobody 139.175.1.5 12345(use
>standalong mode)

>3.  /etc/services   tproxy is use port 8081(tcp)

>4.   at IPChains
>    ipchains -P forward DENY
>    ipchains -A forward -s 192.168.1.0/24 -j MASQ
>    ipchains -A input -p tcp -s 192.168.1.0/24 -i eth1 -j REDIRECT 8081

>4. PC3 work very fine,it's can connect internet (Ex. send/ receive Email?A
>Read News and
>     Ftp download files ,no problem?C
>    But PC2can't browser WWW?]PC2don't set proxy server ip at Outlook
>express?^?A
>    User(at 192.168.1.X)  that don't know webCache(139.175.1.5) proxy all
>port 80

>5. Anybody can Help me ,please?

>Many Thanks