Displaying 5 results from an estimated 5 matches for "int_ip".
Did you mean:
in_ip
2007 Feb 11
7
Could not find definition vico_network
..."vico_network" below works fine.
define vico_network ($owner = ''root'', $group = ''wheel'', $mode = ''644'',
$cro_int = ''ne3'',
$carp0_skew = '''', $carp1_skew = '''', $int_ip =
"192.168.10.201",
$host_name = ''vico.example.org vico'') {
file { "/etc/$name":
owner => $owner, group => $group, mode => $mode,
content => template("${name}.erb"),
}
}
vico_network { ["ho...
2000 May 15
1
ipmasqadm port forwarding ipportfw (HOWTO)
..."rpm -ivh ipmasqadm-0.4.2-3.i386.rpm"
IGNORE INCORRECT EXAMPLES GIVEN ON SITE !!!
5 - EXAMPLE of telnet forwarding: ( add to your "chainfile script" - note:
must fit in with existing rules )
/usr/sbin/ipmasqadm portfw -f
/usr/sbin/ipmasqadm portfw -a -P tcp -L $ext_ip 23 -R $int_ip 23
6 - run the chainfile script and test telnet to the external interface from
an external machine- should give login from destination of port redirect.
POSSIBLE ERRORS:
public interface gets corrupted:
- re-run linuxconf and re-enter interface info. check rpm version.
"10061" on te...
2005 Jun 26
1
Re: Shorewall-users Digest, Vol 31, Issue 48
...gt;
>>
>
>Hi Derek,
>
>I can only guess, because I don''t really understand the way you implemented
>the SNAT (MASQ?)/Accept combination.
>
>But I think the correct way would be DNAT. Something like this in the rules
>file:
>
>DNAT net:$EXT_IP1 loc:$INT_IP:PORT PROTO PORTS ORIG_DEST
>
>e.g.:
>DNAT net:212.185.120.194 dmz:192.168.40.2 tcp http,https - 194.231.186.177
>
>See the examples on top of the rules file and read FAQ30
>http://www.shorewall.net/FAQ.htm#faq30
>
>HTH,
>Alex
>
>
>
Apologies, I am not usin...
2005 Jun 24
1
SNAT multiple IP to single internal IP and limiting access based on external IP
Hello all,
I have shorewall setup with 3 SNAT entries for external IP address''s to
a single IP internal address. I am wondering how to limit access based
on the source IP address.
ex.
EXT IP 1 access only to port 25
EXT IP 2 access only to port 443
EXT IP 3 access only to port 80
I have the SNAT setup correctly and I have 3 accept line in the rules
file (25,80,443) but I can hit
2003 Feb 21
0
dgd/iproute/iptables multihoming problem
...NET//\/*/}
EXA_GW=A.B.C.225
EXA_RNG=A.B.C.230
EXB_IF=eth2
EXB_NET=`ip addr ls $EXB_IF | awk ''/inet/ { print $2 }'' | head -1`
EXB_IP=${EXB_NET//\/*/}
EXB_GW=J.K.L.97
EXB_RNG=J.K.L.102
INT_IF=eth1
INT_NET=`ip addr ls $INT_IF | awk ''/inet/ { print $2 }'' | head -1`
INT_IP=${INT_NET//\/*/}
ip rule add prio 50 table main
ip route del default table main 2>/dev/null
ip rule add priority 100 from $EXB_NET table EXB
ip route add default via $EXB_GW dev $EXB_IF src $EXB_IP \
proto static table EXB
ip route append prohibit default table EXB metric 1 proto stati...