shorewall with ip aliases
location: ubuntuforums.com - date: August 17, 2010
let me show you my config and tell me if its ok
Its pretty simple:
eth2 -> 192.168.1.0
eth1 and eth0 are the net interfaces, 1 router each to provide wan failover (not implemented here)
net6 eth0 detect
net7 eth1 detect
- eth2 192.168.1.255,192.168.50.255
all all ACCEPT info
REJECT loc50 loc1 all
Problems / Doubs:
1) Is the hosts file required?
2) I guess i need doing masq from local to each external, and also from local to local even if they share the same interface, hence the
questiion about shorewall dealing with ip aliases
location: linuxquestions.com - date: August 15, 2010
I heard iptables doesnt support ip aliases in an easy way, i didnt go further because i use shorewall and shorewall can handle well aliases, so i went for it
Somehow i read this:
Need help with IP routing / shorewall
location: ubuntuforums.com - date: September 29, 2008
I am running Hardy 2.6.24-19-server and have installed shorewall and have it (mostly) working.
The problem is, I cannot access the external IP when inside the network, but I can get to other IP addresses in the sub net just fine.
eth0 - external IP - 210.x.55.41
eth1 - internal IP - 192.168.168.1
I have masq working in Shorewall and from my laptop (192.168.168.99) can access the 'net, and a traceroute to 210.x.55.42 shows it is being routed very nicely:
traceroute to 210.x.55.42, 64 hops max, 40 byte packets
1 192.168.168.1 (192.168.168.1) 2.732 ms 3.519 ms 2.009 ms
2 210.x.55.42 (188.8.131.52) 9.548 ms 2.135 ms 1.960 ms
BUT, I cannot ping or traceroute or anything to
I did get it working (sort of) using a rule in shorewall of DNAT, but that makes a mess when I try and use resources on the server.
I KNOW it cannot be that difficult -- any ideas would be greatly appreciated!
Can ssh into server with IP but not with host name
location: ubuntuforums.com - date: May 12, 2010
I have tried searching around on the Internet for this but I wasn't very successful in finding answers. I got a computer running Lucid Lynx with a ssh server running on it. When I try to ssh into it, I get a message saying that it cannot find the host. I run "hostname" in a terminal and it matches what I believe to be the host name. However, if I type in the IP address instead of a host name, SSH works exactly as expected. There aren't any firewalls between the Ubuntu server and the connecting PC (unless Ubuntu has a firewall on it that I don't know about). When I try pinging the host name, it also fails to find it but the IP address works. So, what can I do to make the host name work?
IP aliases + VLANs, how to stack?
location: linuxquestions.com - date: August 29, 2008
I know how to create an alias, I know how to create a VLAN device, but how can I create aliases on VLANs, or VLANs on aliases? I tried vconfig on eth0:0, which failed. I tried to ifconfig eth0.111:0, which also failed. Anyone know how the heck you're supposed to configure multiple addresses on the same VLAN on the same physical interface???
Samba share works with IP but not with hostname from Windows 7
location: ubuntuforums.com - date: October 30, 2012
I went through lot of threads with the same topic of not able to access samba share present in my Kubuntu machine from a Windows machine but couldnt resolve the problem, hence starting a new thread. Both the kubuntu and windows machines are in the same LAN. The hostname of my Kubuntu machine is 'ocean'. Some observations:
1. 'ping ocean' works fine in my windows machine
2. \\10.10.8.108 works fine in my windows machine where 10.10.8.108 is ip of the kubuntu machine
3. when i try \\ocean, getting error.
Please let me know how to resolve this problem.
[SOLVED] ping works with ip address but fails if i use hostname OS is Red Hat server 6.2
location: linuxquestions.com - date: June 6, 2012
OS is Red Hat server 6.2
Ping works with ip address but fails if i use hostname
$ ping myhost123
ping: unknown host myhost123
$ traceroute myhost123
myhost123: Temporary failure in name resolution
Cannot handle "host" cmdline arg `myhost123' on position 1 (argc 1)
Please help on how to resolve this issue
add static route with ip command
location: linuxquestions.com - date: January 24, 2013
Hi, im a newbie and i have a question
On the Linux, using the ip command, how do you add a static route to subnet 192.168.0.0/16 using next-hop 10.10.0.1?
Nginx Custom Error 403 Page Not Working with IP Deny in new version
location: linuxquestions.com - date: June 5, 2013
I deny some country in my server via GEO IP , it work's fine , but i want to show custom 403 page to visitors
i read about this problem in some website like this
and i added allow all; tag in end of location
Problems with reverse DNS and recursion with IP delegation RFC2317
location: linuxquestions.com - date: September 24, 2010
Ok, my IP delegation falls into the RFC2317. The problem is, when a PTR query is made, my BIND9 answers a CNAME that points to a PTR. ( explained here http://www.dyndns.com/support/kb/rev...ustom_dns.html and here http://www.faqs.org/rfcs/rfc2317.html )
The problem is, this query for some reason is considered recursive. Since my server has recusion disabled, the reverse zone doesn't work, only the direct zones are working properly. If I enable recursion the reverse zone starts to answer.
Did someone had the same problem?
Bind9 from repository.
Page: 1 2 3 4 5 6 7 8 9 10