- Posts: 11
- Thank you received: 0
Forcing proxy on IPCOP
Replace [code:1]/sbin/iptables -A CUSTOMFORWARD -i $GREEN_DEV -s 0/0 -o $RED_DEV -j DROP[/code:1]
with:
[code:1]/sbin/iptables -A CUSTOMFORWARD -i $GREEN_DEV -o $RED_DEV -j DROP[/code:1]
Also is your RED interface a modem or a network Card?
Hi,
the red is a network card
Replace [code:1]/sbin/iptables -A CUSTOMFORWARD -i $GREEN_DEV -s 0/0 -o $RED_DEV -j DROP[/code:1]
with:
[code:1]/sbin/iptables -A CUSTOMFORWARD -i $GREEN_DEV -o $RED_DEV -j DROP[/code:1]
Also is your RED interface a modem or a network Card?
I made the replace but got this error:
Warning: wierd character in interface '-o' (No aliases, :, ! or *)
I tried to send a PM mail the server respond with a php error.
If you don't mind, I would like to give access to my IPCOP so, if you give me your email I'll send you the access.
Rgds
Robin
Add the following after the first line (i.e. "#!/bin/sh")
[code:1]#variables defined therein
. /var/ipcop/ethernet/settings[/code:1]
This reads in the definitions for $GREEN_DEV and $RED_DEV.
Sorry, my fault, forgot to include the variable definitions.
Add the following after the first line (i.e. "#!/bin/sh")
[code:1]#variables defined therein
. /var/ipcop/ethernet/settings[/code:1]
This reads in the definitions for $GREEN_DEV and $RED_DEV.
Thank you very much.
I saw you made the correction by yourself, you are welcome.
I'll try tomorrow with a client and I'll let you know.
Bye for now
Roberto
Sorry, my fault, forgot to include the variable definitions.
Add the following after the first line (i.e. "#!/bin/sh")
[code:1]#variables defined therein
. /var/ipcop/ethernet/settings[/code:1]
This reads in the definitions for $GREEN_DEV and $RED_DEV.
Thank you very much 10000000. It's works great!!!!
Robin