You are not logged in.
Pages: 1
Hi,
I have a following problem. I need to make a connection with a server X which only accepts connections by proxy Y, and proxy Y is accepting connections from network Z. I have a couple of computers in network Z one is a server on archlinux. I would like to make a http connetcion from my laptop outside the Z network. Now I solve this by logging into the archlinux server (ssh) and I connect to X by proxy Y using elinks.
Please help,
mdv
Offline
A: set a computer in network Z as a router from outside of Z to inside of Z. Use it as gateway for submask of network Z for the computers that are outside of network Z.
B: create a VPN
Offline
Can you suggest what king of rules should I use in my iptables to route the connection? Or a document I should read?
Offline
# Set up IP FORWARDing and Masquerading
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
# Assuming one NIC to local LAN
iptables --append FORWARD --in-interface eth0 -j ACCEPT
# Enables packet forwarding by kernel
echo 1 > /proc/sys/net/ipv4/ip_forward
This is all I know about iptables. Look for further help if you need to.
Offline
I was looking for a solution which would work in a way that a port 8080 on my archlinux server would be transfering the connection to port 8080 of the proxy server. This way I would be able to set my archlinux server as a proxy in my Konqueror and use it as if it were the real proxy server which accepts connection only from the Z network.
Thanks anyway.
Best wishes, mdv.
Offline
Maybe this post from another thread will help :
Guys, why don't you just search the arch wiki?
This howto has been started recently, it aims to describe all steps to set up a gateway:
http://wiki.archlinux.org/index.php/NAT … l_iptables
Basically, you need an internet connection, dnsmasq and an iptables setup. This howto uses shorewall, but I would prefer a pure iptables soluation, as described in this howto:
http://wiki.archlinux.org/index.php/Sim … wall_HOWTOIt's all there, waiting to be found
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1