Sponsored Content
Special Forums IP Networking win2k to Mandrake,Internet Connection Sharing! Post 46784 by binhnx2000 on Monday 26th of January 2004 08:08:57 AM
Old 01-26-2004
Bug

If you use Mandrake as a gatewaye to ICS. First you must enable IP Masquerade in Mandrake.

If you use Mandrake as a client connection to internet by Windows. You must set information about your network as: IP (IP of Windows Server, enable ICS and Subnet). You can use command "ifconfig" or "netconf" to do this work...

Good luck
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Internet Sharing

I'm new to the unix world, but have been asked if our company could set up a high speed internet connection to our unix server in order to connect all our users without haveing to pay for all these telephone lines. I assume it is easy but unsafe. Any help from the basics to the advanced will be... (2 Replies)
Discussion started by: Mike11
2 Replies

2. UNIX for Dummies Questions & Answers

I need help to set up internet sharing in linux.

Ok, I'm kind of in between newbie and experienced somewhere. I'm an advanced computer user but only have a little experience with linux and a lot of problems with it. Currently I'm using Linux-Mandrake 8.0 (I know, I know, but let's not go into the many reasons why it's not even close to the best... (2 Replies)
Discussion started by: Nazo
2 Replies

3. IP Networking

Internet Sharing with SUSE 7.3

I have a home network connected to a cable modem. I would like to use my SUSE 7.3 as a proxy. My layout is this. all computers connected to a hub. SUSE has 2 nics. 1 for cable modem(eth0, one for internal network connected to hub(eth1) All other machines connect to hub eth0 - DHCP from ISP... (1 Reply)
Discussion started by: gdboling
1 Replies

4. UNIX for Dummies Questions & Answers

Internet sharing

I wanted to share internet with my Server running Win 2000 and client on Solaris 8. I networked them with a hub and 2 NICs on Server. Is there any software to share the internet? Need help!!!!!!!!!! Thanks... Praveen (5 Replies)
Discussion started by: praveenk
5 Replies

5. Linux

Mandrake 10.0 and wireless internet

I am unable to browse the web from my Mandrake installation I have 2 nics set up, one for the network(eth0) and one for the wireless internet(eth1). eth0 is setup in the 192.168.0.x range (static) eth1 is set up in the 192.168.1.x range (dhcp) both use the same netmask default... (0 Replies)
Discussion started by: rbetzen
0 Replies

6. UNIX for Dummies Questions & Answers

Sharing a Unix Drive Over The Internet ... but

I don't know if this can be done, otherwise, my project will come to a screeching halt. I have a SCO 5.0.5 machine connected to the internet with a static IP address. I need to be able to share a drive : /shareddrive I need to map to it from a windows machine: hence, what i'd like to... (3 Replies)
Discussion started by: gseyforth
3 Replies

7. Emergency UNIX and Linux Support

Sharing internet from host os to guest os

I have a host os Windows 7 ultimate in place where virtual box is installed. Now in virtual box I have installed solaris 10. There is internet connection present in host windows 7 still I am not able to access internet in solaris 10. Please help to configure solaris so that internet can be... (12 Replies)
Discussion started by: hiten.r.chauhan
12 Replies

8. IP Networking

Sharing internet connection

Hello all, Recently took a dive into Unix using Fedora 12 atm. I have cable modem with DHCP and a linksys 8 port router. With windows I was able to simple use the uplink port and plug each computer into the switch and use the internet connection. Having no luck doing the same in Unix. I have... (0 Replies)
Discussion started by: Fingerz
0 Replies

9. Solaris

Sharing internet from Ubuntu to Solaris server

I have a laptop running on ubuntu 13 connected to wifi. My sunfire v100 is connected to my laptop with an ethernet cable of course. I tried messing around with it seeing if I could do it myself but I couldn't. I want my solaris box to use the internet off my laptop. How would I do this? I'm just... (2 Replies)
Discussion started by: austinramsay
2 Replies

10. Solaris

Sharing internet from Ubuntu to Solaris server

Hey guys can anyone explain to me how to share my laptops (on ubuntu with wifi) to my sunfire v100 thats connected via ethernet? Whats the process for that? I'd appreciate it! Thanks (1 Reply)
Discussion started by: austinramsay
1 Replies
ptunnel(8)						       Yellow Lemon Software							ptunnel(8)

NAME
ptunnel - tunnel TCP connections over ICMP echo request/reply packets. SYNOPSIS
ptunnel -p proxy_address -lp listen_port -da destination_address -dp dest_port [-c network_device] [-v verbosity] [-f file] [-udp] [-sys- log] ptunnel [-c network_device] [-v verbosity] [-f file] [-udp] [-syslog] [-daemon file] ptunnel [-u] [-x password] [-setuid user] [-setgid group] [-chroot dir] [-setcon context] ptunnel -h DESCRIPTION
ptunnel is an application that allows you to reliably tunnel TCP connections to a remote host using ICMP echo request and reply packets, commonly known as ping requests and replies. At first glance, this might seem like a rather useless thing to do, but it can actually come in handy in some cases. The following example illustrates the main motivation in creating ptunnel: Setting: You're on the go, and stumble across an open wireless network. The network gives you an IP address, but won't let you send TCP or UDP packets out to the rest of the internet, for instance to check your mail. What to do? By chance, you discover that the network will allow you to ping any computer on the rest of the internet. With ptunnel, you can utilize this feature to check your mail, or do other things that require TCP. OPTIONS
Client options: -p proxy_address Specify the host on which the proxy is running. -lp listen_port Specifies the port on which the client will listen for incoming TCP connections. -da destination_addr Specifies the address to which you want your packets tunneled after reaching the proxy when in client mode, or restricts the desti- nation packets can be forwarded to when in server mode. -dp destination_port Specifies/restrict the port that the proxy should tunnel the TCP connection to. Shared options: -c network_device Specify the network interface to capture packets from. Note that packet capturing isn't always necessary, but you should try this if you experience problems with ptunnel. -v verbosity Controls the verbosity level. -1 is no output, 0 shows errors only, 1 shows info messages, 2 gives more output, 3 provides even more output, level 4 displays debug info and level 5 displays absolutely everything, including the nasty details of sends and receives. -udp Enables tunneling over UDP port 53 (DNS) instead of using ICMP. This will only work if your proxy can accept incoming traffic on port 53, and the client is able to send data to the proxy on port 53. Note that this option does not wrap ptunnel's data in DNS-com- pliant packets. This option must be given on both the proxy and client side for things to work correctly. -syslog (Not available on Windows.) Changes logging to use the built-in syslog fascility. -daemon file (Not available on Windows.) Run in background, writing PID in file. -u Attempts to run ptunnel without privileges. This doesn't usually work! On UNIX systems please consider using the following three options instead: -setuid user (Not available on Windows.) When started in privileged mode, drop down to user's rights as soon as possible. -setgid group (Not available on Windows.) When started in privileged mode, drop down to group's rights as soon as possible. -chroot dir (Not available on Windows.) When started in privileged mode, restrict file access to the specified directory. -setcon context (Not available on Windows.) Set SELinux context when all there is left to do are network I/O operations. In order to be able to combine with -chroot you will have to `mount --bind /proc /chrootdir/proc` -x password Specifies a password or passphrase to use. This will allow you to protect the proxy from use by others who don't know the password. It needs to be specified on both proxy and client. -f file Specifies a log file. If you specify -syslog, syslog is always used instead. -h Displays brief usage information. EXAMPLES
The following assumes that ptunnel is run as root, both on the proxy and client. To tunnel ssh connections from the client machine via a proxy running on proxy.pingtunnel.com to the computer login.domain.com, the following command line would be used: ptunnel -p proxy.pingtunnel.com -lp 8000 -da login.domain.com -dp 22 An ssh connection to login.domain.com can now be established as follows: ssh -p 8000 localhost If ssh complains about potential man-in-the-middle attacks, simply remove the offending key from the known_hosts file. The warning/error is expected if you have previously ssh'd to your local computer (i.e., ssh localhost), or you have used ptunnel to forward ssh connections to different hosts. Of course, for all of this to work, you need to start the proxy on your proxy-computer (proxy.pingtunnel.com). Doing this is very simple: ptunnel If you find that the proxy isn't working, you will need to enable packet capturing on the main network device. Currently this device is assumed to be an ethernet-device (i.e., ethernet or wireless). Packet capturing is enabled by giving the -c switch, and supplying the device name to capture packets on (for instance eth0 or en1). The same goes for the client. On Mac OS X, packet capturing must always be enabled (both for proxy and client), as resent packets won't be received otherwise. To protect yourself from others using your proxy, you can protect access to it with a password using the <tt>-x</tt> switch. The password is never sent in the clear, but keep in mind that it may be visible from tools like top or ps, which can display the command line used to start an application. EXIT STATUS
ptunnel does not exit until forced to do so by an interrupt (Ctrl-C) or if it crashes. BUGS
ptunnel currently does not handle packet capturing on network interfaces other than ethernet or wireless correctly. AUTHORS
Daniel Stoedle (daniels@cs.uit.no) Mike Miller (mike@mikeage.net) Sebastien Raveau (sebastien.raveau@epita.fr) LICENSE
ptunnel is licensed under the BSD License. AVAILABILITY
The ptunnel homepage is currently located here: http://www.cs.uit.no/~daniels/PingTunnel/ The freshmeat project page is located here: http://freshmeat.net/projects/ptunnel/ Please take the time to rate ptunnel if you find it useful. Thanks! Version 0.71 June 22, 2009 ptunnel(8)
All times are GMT -4. The time now is 05:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy