Editing Firewall and Startup Configuration

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
noman4ever
Posts: 3
Joined: Fri Jul 04, 2014 2:28 pm

Editing Firewall and Startup Configuration

Post by noman4ever »

Hi,

I want to edit my firewall and startup configuration files so that I can run public ip pool and private ip pool simultaneously on Gargoyle. This is referred to as Multi-NATing.

I was able to do this easily in DD-WRT by entering following commands:

Startup Configuration:
ifconfig br0:1 X.X.X.X netmask 255.255.255.252

Firewall Configurations:
iptables -t nat –F
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE

Please help me where in Gargoyle can I put above commands. I have been able to access router files through WinSCP but I dont know in which file I should put them.

Thanks in advance.

Post Reply