Re: Setting up a home gateway/router

2014-05-24 Thread Steve Litt
On Sat, 24 May 2014 18:27:28 +0200 Pascal Hambourg wrote: > Huh ? NAT does not make things simpler but more complicated ! > What would be the benefit of using NAT here ? Security by obscurity. NAT is one more hassle the badguys have to get through to get to your stuff. As botnets turn into brute

Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Pascal Hambourg writes: > csanyi...@gmail.com a écrit : >> Reco writes: >> >>> >>> /24 net allows 256 addresses. You've tried one (and is using another >>> one), so it's 254 to go. > > Less. .0 and .255 are reserved as network and broadcast addresses. > >> Also, I get no documentation else with

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
On Sat, 24 May 2014 18:45:38 +0200 Pascal Hambourg wrote: > Reco a écrit : > > Pascal Hambourg wrote: > > > >>> Reco writes: > >>> > /24 net allows 256 addresses. You've tried one (and is using another > one), so it's 254 to go. > >> Less. .0 and .255 are reserved as network and broa

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
Hi. On Sat, 24 May 2014 18:27:28 +0200 Pascal Hambourg wrote: > Reco a écrit : > > > > To keep things simple. Two host can communicate with each other without > > third party (router) only if they have their IPs from the same network. > > No. Only if they share the same broadcast domain (link

Re: Setting up a home gateway/router

2014-05-24 Thread Pascal Hambourg
Reco a écrit : > Pascal Hambourg wrote: > >>> Reco writes: >>> /24 net allows 256 addresses. You've tried one (and is using another one), so it's 254 to go. >> Less. .0 and .255 are reserved as network and broadcast addresses. > > I seen ISPs that advertise routes ending with 0. A vio

Re: Setting up a home gateway/router

2014-05-24 Thread Pascal Hambourg
Reco a écrit : > > To keep things simple. Two host can communicate with each other without > third party (router) only if they have their IPs from the same network. No. Only if they share the same broadcast domain (link layer network), regardless of IP addressing. Usually IP subnetting matches li

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
On Sat, 24 May 2014 17:56:53 +0200 Pascal Hambourg wrote: > csanyi...@gmail.com a écrit : > > Reco writes: > > > >> > >> /24 net allows 256 addresses. You've tried one (and is using another > >> one), so it's 254 to go. > > Less. .0 and .255 are reserved as network and broadcast addresses. I

Re: Setting up a home gateway/router

2014-05-24 Thread Pascal Hambourg
csanyi...@gmail.com a écrit : > Reco writes: > >> >> /24 net allows 256 addresses. You've tried one (and is using another >> one), so it's 254 to go. Less. .0 and .255 are reserved as network and broadcast addresses. > Also, I get no documentation else with the static IP address from my ISP > b

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
On Sat, 24 May 2014 17:45:35 +0200 csanyi...@gmail.com wrote: > Well, I tried the default gateway with IP address: > 217.17.111.1 > and > 217.17.111.254 > > None of them works. I rebooted every time when changed the default gw > address. Ok. Just to avoid sloppy wording I'd like to add that I me

Re: Setting up a home gateway/router

2014-05-24 Thread John Bleichert
On 05/24/2014 11:43 AM, Reco wrote: # service networking restart Good intention on your part, but this is bad advice. In /etc/init.d/networking 'force-reload' and 'restart' methods are marked as deprecated. Specifically corresponding script says: log_warning_msg "Running $0 $1 is deprecate

Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Reco writes: > Hi. > > On Sat, 24 May 2014 15:06:52 +0200 > csanyi...@gmail.com wrote: > >> Well, I just tried that, but without success. > > /24 net allows 256 addresses. You've tried one (and is using another > one), so it's 254 to go. > > As I wrote, if you don't want to guess - check with yo

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
Hi. On Sat, 24 May 2014 10:36:23 -0400 John Bleichert wrote: > You may have to restart the networking or network-manager service or > just reboot. I had to when I first setup static. Not sure why but it > needed more than ifdown/ifup. > > e.g.: > > # service networking restart Good intenti

Re: Setting up a home gateway/router

2014-05-24 Thread John Bleichert
On 05/24/2014 09:06 AM, csanyi...@gmail.com wrote: Well, I just tried that, but without success. /etc/network/interfaces --- auto eth0 iface eth0 inet static address 217.17.111.173 netmask 255.255.255.0 gateway 217.17.111.1 # ifdown eth0 # ifup eth0 $ ping 8.8.8

Re: Setting up a home gateway/router

2014-05-24 Thread Richard Hector
On 25/05/14 02:04, Reco wrote: > Hi. > > On Sat, 24 May 2014 15:06:52 +0200 > csanyi...@gmail.com wrote: > >> Well, I just tried that, but without success. > > /24 net allows 256 addresses. You've tried one (and is using another > one), so it's 254 to go. > > As I wrote, if you don't want to g

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
Hi. On Sat, 24 May 2014 15:06:52 +0200 csanyi...@gmail.com wrote: > Well, I just tried that, but without success. /24 net allows 256 addresses. You've tried one (and is using another one), so it's 254 to go. As I wrote, if you don't want to guess - check with your ISP. Reco -- To UNSUBSCRI

Re: Setting up a home gateway/router

2014-05-24 Thread Richard Hector
On 25/05/14 01:06, csanyi...@gmail.com wrote: >> > Assuming that your 217.17.111.173/24 address on eth0 is correct, you >> > probably need to set up default gateway as 217.17.111.1 (and you really >> > should check it with your ISP, they are the only ones who know this). > I just mail to my ISP and

Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Reco writes: > On Sat, 24 May 2014 12:21:05 +0200 > csanyi...@gmail.com wrote: > >> Yes, I thought as much, but don't know which IP address to add as a >> default gateway in my case? >> >> The command should look like this: >> # route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0 >

Re: Setting up a home gateway/router

2014-05-24 Thread Reco
Hi. On Sat, 24 May 2014 12:21:05 +0200 csanyi...@gmail.com wrote: > Yes, I thought as much, but don't know which IP address to add as a > default gateway in my case? > > The command should look like this: > # route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.0.1 dev eth0 > ?

Re: Setting up a home gateway/router

2014-05-24 Thread csanyipal
Mike McGinn writes: > Comments below > On Friday, May 23, 2014 11:52:43 csanyi...@gmail.com wrote: >> csanyi...@gmail.com writes: >> > So I tried with this setup: >> > iface eth0 inet static >> > >> > address 217.17.111.173 >> > netmask 255.255.255.0 >> >> but it doesn't work. > I bui

Re: Setting up a home gateway/router

2014-05-23 Thread Filip
On Fri, 23 May 2014 06:57:15 +0200 csanyi...@gmail.com wrote: > Hi, > > I wish to set up my home headless power pc box as a gateway/router > ( GW ). I can connect to it with SSH only. > > Before, I set up this GW to get an IP address from my ISP with > dhcp.client. > > Now, I ask a static IP ad

Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
Ron Leach writes: > On 23/05/2014 16:52, csanyi...@gmail.com wrote: >> csanyi...@gmail.com writes: >> >>> So I tried with this setup: >>> iface eth0 inet static >>> address 217.17.111.173 >>> netmask 255.255.255.0 >> >> but it doesn't work. >> >> Say, the output of the command 'ping g

Re: Setting up a home gateway/router

2014-05-23 Thread Curt
On 2014-05-23, csanyi...@gmail.com wrote: > csanyi...@gmail.com writes: > >> So I tried with this setup: >> iface eth0 inet static >> address 217.17.111.173 >> netmask 255.255.255.0 > > but it doesn't work. I don't know anything about it, but it seems something is missing here like gat

Re: Setting up a home gateway/router

2014-05-23 Thread Mike McGinn
Comments below On Friday, May 23, 2014 11:52:43 csanyi...@gmail.com wrote: > csanyi...@gmail.com writes: > > So I tried with this setup: > > iface eth0 inet static > > > > address 217.17.111.173 > > netmask 255.255.255.0 > > but it doesn't work. I built a gateway / router / vpn / firewa

Re: Setting up a home gateway/router

2014-05-23 Thread Ron Leach
On 23/05/2014 16:52, csanyi...@gmail.com wrote: csanyi...@gmail.com writes: So I tried with this setup: iface eth0 inet static address 217.17.111.173 netmask 255.255.255.0 but it doesn't work. Say, the output of the command 'ping gnu.org' is: ping: unknown host gnu.org My ISP

Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
csanyi...@gmail.com writes: > So I tried with this setup: > iface eth0 inet static > address 217.17.111.173 > netmask 255.255.255.0 but it doesn't work. Say, the output of the command 'ping gnu.org' is: ping: unknown host gnu.org >>> My ISP >>> | >>> --- eth0 ( GW ) --- eth1 >>>

Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
Curt writes: > On 2014-05-23, Pascal Hambourg wrote: > >>> Do you mean that eth0 on GW has a static IP address? >> >> No, the OP wrote that internet-facing eth0 has a DHCP address from the ISP. > > I understood that *before* he had a DHCP address from his ISP, but *now* > he has a static address

Re: Setting up a home gateway/router

2014-05-23 Thread csanyipal
Hi Vincent, "Vincent W. Chen" writes: > On Thu, May 22, 2014 at 9:57 PM, wrote: >> I wish to set up my home headless power pc box as a gateway/router ( GW ). >> I can connect to it with SSH only. >> >> Before, I set up this GW to get an IP address from my ISP with >> dhcp.client. Before eth0

Re: Setting up a home gateway/router

2014-05-23 Thread Curt
On 2014-05-23, Pascal Hambourg wrote: >> Do you mean that eth0 on GW has a static IP address? > > No, the OP wrote that internet-facing eth0 has a DHCP address from the ISP. I understood that *before* he had a DHCP address from his ISP, but *now* he has a static address (only mentioning what he

Re: Setting up a home gateway/router

2014-05-23 Thread Steve Litt
On Fri, 23 May 2014 06:57:15 +0200 csanyi...@gmail.com wrote: > Hi, > > I wish to set up my home headless power pc box as a gateway/router > ( GW ). I can connect to it with SSH only. > > Before, I set up this GW to get an IP address from my ISP with > dhcp.client. > > Now, I ask a static IP ad

Re: Setting up a home gateway/router

2014-05-23 Thread Pascal Hambourg
Vincent W. Chen a écrit : > > Do you mean that eth0 on GW has a static IP address? No, the OP wrote that internet-facing eth0 has a DHCP address from the ISP. > # If you have IPv6 > iface eth0 inet6 static > address ::1 > netmask 64 Nonsense. ::1 is for the loopback interface only. If y

Re: Setting up a home gateway/router

2014-05-22 Thread Vincent W. Chen
On Thu, May 22, 2014 at 9:57 PM, wrote: > Hi, > > I wish to set up my home headless power pc box as a gateway/router ( GW ). > I can connect to it with SSH only. > > Before, I set up this GW to get an IP address from my ISP with > dhcp.client. > > Now, I ask a static IP address for this GW and do

Setting up a home gateway/router

2014-05-22 Thread csanyipal
Hi, I wish to set up my home headless power pc box as a gateway/router ( GW ). I can connect to it with SSH only. Before, I set up this GW to get an IP address from my ISP with dhcp.client. Now, I ask a static IP address for this GW and don't know how to setup eth0 interface so I can connect to

Re: ZOOM X4 adsl modem , Apache behind home gateway[SOLVED]

2004-09-12 Thread Pigeon
On Mon, Sep 13, 2004 at 12:35:08AM +0300, Hasan wrote: > i change the lines in etc/network/interfaces like this : > > iface eth0 inet static > address 10.0.0.16 > netmask 255.255.255.0 > gateway 10.0.0.2 Make the first line "iface eth0 inet dhcp" and get rid of the other three. Make sure you've g

Re: ZOOM X4 adsl modem , Apache behind home gateway

2004-09-12 Thread James Allen
As previously stated, you will want to use a dynamic dns service such as dyndns.org. If you sign up with them the rest is pretty simple. apt-get install ddclient and after the configuration and installation, since you are behind a gateway, the following line needs to be added to the end of /etc/d

Re: ZOOM X4 adsl modem , Apache behind home gateway

2004-09-12 Thread Pigeon
On Sun, Sep 12, 2004 at 12:25:28PM -0600, Dean Allen Provins wrote: > On Sun, Sep 12, 2004 at 07:51:15PM +0300, Hasan wrote: > > Hello , > > I want to use apache server , it works at localhost perfect . Bu i have > > the adsl modem zoom x4 . When i click my ip at the

Re: ZOOM X4 adsl modem , Apache behind home gateway

2004-09-12 Thread Dean Allen Provins
perfect . Bu i have > >>the adsl modem zoom x4 . When i click my ip at the browser Home Gateway > >>popup appears and ask password. I tried to do Virtual Host section . > >>When I set port 80 to my ip , it reset the modem and my ip chages ! How > >>can i do thi

Re: ZOOM X4 adsl modem , Apache behind home gateway[SOLVED]

2004-09-12 Thread Hasan
wrote: Hello , I want to use apache server , it works at localhost perfect . Bu i have the adsl modem zoom x4 . When i click my ip at the browser Home Gateway popup appears and ask password. I tried to do Virtual Host section . When I set port 80 to my ip , it reset the modem and my ip

Re: ZOOM X4 adsl modem , Apache behind home gateway

2004-09-12 Thread Hasan
Dean Allen Provins wrote: Hasan: On Sun, Sep 12, 2004 at 07:51:15PM +0300, Hasan wrote: Hello , I want to use apache server , it works at localhost perfect . Bu i have the adsl modem zoom x4 . When i click my ip at the browser Home Gateway popup appears and ask password. I tried to do Virtual

Re: ZOOM X4 adsl modem , Apache behind home gateway

2004-09-12 Thread Dean Allen Provins
Hasan: On Sun, Sep 12, 2004 at 07:51:15PM +0300, Hasan wrote: > Hello , > I want to use apache server , it works at localhost perfect . Bu i have > the adsl modem zoom x4 . When i click my ip at the browser Home Gateway > popup appears and ask password. I tried to do Virtual

ZOOM X4 adsl modem , Apache behind home gateway

2004-09-12 Thread Hasan
Hello , I want to use apache server , it works at localhost perfect . Bu i have the adsl modem zoom x4 . When i click my ip at the browser Home Gateway popup appears and ask password. I tried to do Virtual Host section . When I set port 80 to my ip , it reset the modem and my ip chages ! How

debian home gateway; nat + multicast/igmp

2004-01-31 Thread debian-user
hi, my broadband provider allows me to view video via a multicast. I can't find any tool for iptables that makes this work. I see igmp-packets on both sides of my gateway - but ofcourse it is not forwarded. Is there any NAT-module for IGMP/Multicast? Or anyone else made this work? //BR Niklas

Re: home gateway

2002-03-11 Thread Stephen A. Witt
On Mon, 11 Mar 2002, James Bruce wrote: > i need to set up a gateway for my home computer and id like to do with > debian . the machine i have is: > > pII 450 8mb gfx card, 10gb disk. > > i would like it set up as a firewall initially, and eventually a web > server and samba etc, incluyding basic

RE: home gateway

2002-03-11 Thread Panuganty, Ramesh
m: James Bruce [mailto:[EMAIL PROTECTED] Sent: Monday, March 11, 2002 8:20 AMTo: debian-user@lists.debian.orgSubject: home gateway i need to set up a gateway for my home computer and id like to do with debian . the machine i have is:   pII 450 8mb gfx card, 10gb disk.   i woul

home gateway

2002-03-11 Thread James Bruce
i need to set up a gateway for my home computer and id like to do with debian . the machine i have is:   pII 450 8mb gfx card, 10gb disk.   i would like it set up as a firewall initially, and eventually a web server and samba etc, incluyding basic workstation stuff like x / gnome etc   qu