search for: inet_ip

Displaying 5 results from an estimated 5 matches for "inet_ip".

2010 Jan 21
2
Samba behind NAT
Hello All, I have a strange problem regarding samba 3.0.37 I have samba server installed in the local network behind NAT, the router iptables are configured as follows: #samba $IPT -t nat -A PREROUTING -i $INET_IFACE -p udp -d $INET_IP -m multiport --dports 137,138 -j DNAT --to-destination $FILESERV $IPT -t nat -A PREROUTING -i $INET_IFACE -p tcp -d $INET_IP -m multiport --dports 139,145 -j DNAT --to-destination $FILESERV #samba $IPT -A FORWARD -p udp -m state --state NEW -i $INET_IFACE -d $FILESERV -m multiport --dports...
2005 Dec 27
3
Ingress policing (matching netfilter marks)
....*:", "", $2) ; print $2 }''` if [ "$TEMP" = '''' ]; then echo "Aborting: Unable to determine the IP of $nic ... DHCP problem?" exit 1 else echo "$TEMP" fi } #### 1.1 Internet Configuration. INET_IFACE="ppp0" INET_IP=`RetrieveIP $INET_IFACE` #### 1.2 Local Area Network configuration. LAN_IFACE="eth0" LAN_IP=`RetrieveIP $LAN_IFACE` LAN_IP_RANGE="192.168.0.0/24" #### 1.4 Localhost Configuration. LO_IFACE="lo" LO_IP="127.0.0.1" #### 1.5 IPTables Configuration. IPTABLES=&q...
2001 Mar 20
1
interfaces option question
...;interfaces' config option? I have two interfaces, one that does nmbd and smbd to my LAN, and another that will browse-sync with a remote samba machine with the same configuration of two network cards. I'm looking to do something like this: interfaces = eth1 $LAN_IP/24 127.0.0.1/24 eth0 $INET_IP/24 bind interfaces only = yes Thanks, Mchael Blinn
2013 Jan 04
4
CentOS 6.3 as Firewall/Router
...b/dhclient/dhclient-eth0.leases | head -1 | awk \ '{print $NF}' | sed 's/;//g'` route add default gw "$ROUTER" # # Sun Apr 3 09:11:44 EDT 2005 ############################## # IPTABLES="/sbin/iptables" INET_IFACE="eth0" OSPREY="192.168.252.3" INET_IP=`ifconfig eth0 | grep 'inet addr' | awk -F":" '{print $2}' | sed 's/ Bcast//'` LAN_IP="192.168.252.5" DHCP="yes" DHCP_SERVER=`grep dhcp-server-identifier /var/lib/dhclient/dhclient-eth0.leases \ | head -1 | awk '{print $NF}' | sed '...
2004 Dec 19
0
router problem
...iority is cs trafik. I need to priorize this trafik(i know cs have many litle packets) but i need to priorize my cs server.And i need your help.I try wondersharper but without results. With this script i start my box now:(is this correct?) INET_IFACE=eth0 INET_NET=62.85.71.0/28 INET_GW=62.85.71.1 INET_IP=62.85.71.10 INET_BCAST_ADRESS=62.85.71.15 INET_MASK=255.255.255.240 DSL_IFACE=eth2 DSL_NET=81.198.4.0/28 DSL_GW=81.198.4.1 DSL_IP=81.198.7.159 DSL_BCAST_ADRESS=81.198.7.255 DSL_MASK=255.255.252.0 LAN_IFACE=eth1 LAN_IP=10.10.10.0 LAN_NET=10.10.10.0/24 LAN_MASK=255.255.255.0 LAN_BCAST=10.10.10.255 IN...