[ale] nslookup OK - No ping or access from proxy client
Don Thrash
don at donthrash.com
Sat Jun 10 21:49:05 EDT 2023
Thank you!! That was a bit of help. Got me thinking . Squid access log
is loaded with: TCP_DENIED/403. Now going on a trip down that rabbit hole.
Don Thrash
On 6/10/2023 4:23 PM, Boris Borisov via Ale wrote:
> The old fashion way.
>
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> echo 1 > /proc/sys/net/ipv4/ip_forward
> instead eth0 there is the name of your wifi device
>
> .<bugyatl at gmail.com> wrote:
>
> When you say proxy server do you mean you running proxy software
> on it or you just using it as getaway?
>
> On Sat, Jun 10, 2023, 20:56 Don Thrash via Ale <ale at ale.org> wrote:
>
> Hi Guys! My name is Don Thrash. I have been using Linux for
> quite a
> while but the head isn't what it used to be. So I am looking
> for a
> little help. I am setting up a proxy server on the following
> machine.
> I had it working a week ago. Now I am totally confused. The
> issue is
> the proxy client does not get routed to the networks (local or
> internet). Ping of google.com <http://google.com> from the
> client returns the correct ip
> address, but the ping returns timed out. Typing in the ip
> returns timed
> out. The client is a Windows 10 box, I also tried my Ubuntu
> laptop with
> the same result.
>
> Ubuntu 22.04.2 LTS (GNU/Linux 5.19.0-43-generic x86_64)
>
> wlx002522451a1f - WiFi from house to shed 192.168.1.0
>
> enp0s25 - Wired shed network - 10.42.0.0
>
> dont at Shed2:~$ route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric
> Ref Use
> Iface
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 600 0 0
> wlx002522451a1f
> 10.42.0.0 0.0.0.0 255.255.255.0 U 100 0
> 0 enp0s25
> 192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0
> wlx002522451a1f
>
> sudo iptables -L
> [sudo] password for dont:
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
> Network connections from server work correctly.
>
> ifconfig
> enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 10.42.0.1 netmask 255.255.255.0 broadcast
> 10.42.0.255
> inet6 fe80::a88e:9d27:e490:8c8d prefixlen 64 scopeid
> 0x20<link>
> ether 00:1e:4f:c7:0a:c0 txqueuelen 1000 (Ethernet)
> RX packets 26627 bytes 2224357 (2.2 MB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 14280 bytes 9276316 (9.2 MB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> device interrupt 21 memory 0xfebe0000-fec00000
>
> lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
> inet 127.0.0.1 netmask 255.0.0.0
> inet6 ::1 prefixlen 128 scopeid 0x10<host>
> loop txqueuelen 1000 (Local Loopback)
> RX packets 10037 bytes 912910 (912.9 KB)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 10037 bytes 912910 (912.9 KB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> wlx002522451a1f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>
> mtu 1500
> inet 192.168.1.164 netmask 255.255.255.0 broadcast
> 192.168.1.255
> ether 00:25:22:45:1a:1f txqueuelen 1000 (Ethernet)
> RX packets 235508 bytes 162967763 (162.9 MB)
> RX errors 0 dropped 6 overruns 0 frame 0
> TX packets 183068 bytes 31113448 (31.1 MB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20230610/f342fd6d/attachment.htm>
More information about the Ale
mailing list