On 02/15/2013 11:16 PM,
czenc...@gmail.com wrote:
> It's not helpful to ask to restate the question without a recomendation
> of correction
> to the question to produce a better question.
>
> OK, here is my last attempt at a Yes or No answer... if not then my
> conclusion is
> this forum is ineffective in producing help for sshuttle.
>
> If I construct my firewall... whatever that firewall may be... to allow
> a single port
> out and a single port in... for example
the unclear part that Avery wanted you to rephrase was here: where's
that firewall in question? on the computer you're using as a sshuttle
client or somewhere between you and the internet, or maybe on the server
end?
> Allow all tcp in on port 2222
> Allow all tcp out on port 2222
>
> I am able to make a regular ssh connection by this configuration.
>
> *Question*:
> Does sshuttle posses the ability to force all traffic (tcp & udp)
> through a single port by way of a connection
> to a remote openssh-server ?
that's what sshuttle does. (although iirc sshuttle does _not_ forward
udp traffic)
if your firewall is between you and the internet (say on your router),
then one port will be enough.
but if it's on your computer, then you need to consider how sshuttle
works: it's using iptables to forward traffic to all tcp ports to one
port on your computer where sshuttle is listening. so you need to build
your iptables rules in order not to block this out.
--
Gabriel Filion