I have a fresh opensuse 11.4
everything works fine but when trying to ping Google i have no reply.
Yast updates fine.
The problem is I am on a lan and the only way I can get on the internet is through proxy.I set it in Mozilla proxy(and works) and in yast/network services/proxy but it seems that when trying to ping outside the lan is not working
linux-7xdh:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.3 0.0.0.0 UG 0 0 0 eth0
linux-7xdh:~ #
If you have access only to an HTTP proxy then it is normal that you can not ping anything outside. If you want full access then your gateway should do NAT for you and also to provide you with DNS server address (or you can use google’s DNS).
Use traceroute to see how far you get. That’s where ping is blocked.
with traceroute i can’t pass proxy, it stops in it
the gateway i say is although dns, and it makes dns but not passes through it…
If you have access only to an HTTP proxy then it is normal that you can not ping anything outside. If you want full access then your gateway should do NAT for you and also to provide you with DNS server address (or you can use google’s DNS).
from windows I can ping google, so it is not blocked from the proxy/gw…
I tried to ping google ip address but it gave the same result
from command line suse doesn’t know to go through that firewall, that is the problem, or it goes through that firewall because he resolves ip addresses but I think he doesn’t know to connect through 8080 port…
did you set the dns on linux? Put here the result of
Code:
cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 192.168.0.3
hmm, very strange, according to presented above windows and linux mashine are configured in the same way and then it should work…
I can propose only to try to disable ipv6 from Yast/Network Devices/Network Settings, uncheck “Enable ipv6” on “Global options” page and the restart the mashine
ok.
my mistake, I am blocked from the gw to ping external adresses.
how to modify the gw(suse) to ping external addresses?
on gw is installed squid.
what do I have to modify?open a port in squid(which one) or what to do?
what i am trying to do is to make another gw, that accesses internet trough first gw.
now it doesn’t work because it is restrictionated by the first gw
on this gw i will put squid
squid is not designed to allow you to ping external ip address. For this you need NAT.
You just indicated the IP address of your gateway, for example with Yast/Network/Settings/Routing/Default ipv4 Gateway and the DNS server also here in Hostname/DNS tab. Then if this gateway will do NAT for you local IP address then you will be able to access any external IP at any port. Also to browse without proxy.
The squid proxy you can use only for HTTP(s) protocol.
this is already a matter of changing your router configuration and it depends of the model. Usually it can be done by filtering MAC address or local ip address.